Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -257,7 +257,7 @@ namespace Server.Items
|
|||
m_Info.Add( MusicName.ValoriaShips, new DawnsMusicInfo( 1075140, DawnsMusicRarity.Rare ) );
|
||||
}
|
||||
|
||||
public static MusicName[] m_CommonTracks = new MusicName[]
|
||||
public static MusicName[] m_CommonTracks = new[]
|
||||
{
|
||||
MusicName.Samlethe, MusicName.Sailing, MusicName.Britain2, MusicName.Britain1,
|
||||
MusicName.Bucsden, MusicName.Forest_a, MusicName.Cove, MusicName.Death,
|
||||
|
|
@ -271,7 +271,7 @@ namespace Server.Items
|
|||
MusicName.Mountn_a, MusicName.Wind, MusicName.Yew, MusicName.Zento
|
||||
};
|
||||
|
||||
public static MusicName[] m_UncommonTracks = new MusicName[]
|
||||
public static MusicName[] m_UncommonTracks = new[]
|
||||
{
|
||||
MusicName.GwennoConversation, MusicName.DreadHornArea, MusicName.ElfCity,
|
||||
MusicName.GoodEndGame, MusicName.GoodVsEvil, MusicName.GreatEarthSerpents,
|
||||
|
|
@ -279,7 +279,7 @@ namespace Server.Items
|
|||
MusicName.MinocNegative, MusicName.ParoxysmusLair, MusicName.Paws
|
||||
};
|
||||
|
||||
public static MusicName[] m_RareTracks = new MusicName[]
|
||||
public static MusicName[] m_RareTracks = new[]
|
||||
{
|
||||
MusicName.SelimsBar, MusicName.SerpentIsleCombat_U7, MusicName.ValoriaShips
|
||||
};
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ namespace Server.Items
|
|||
{
|
||||
public class HolidayBell : Item
|
||||
{
|
||||
private static string[] m_StaffNames = new string[]
|
||||
private static string[] m_StaffNames = new[]
|
||||
{
|
||||
"Adrick",
|
||||
"Alai",
|
||||
|
|
@ -29,7 +29,7 @@ namespace Server.Items
|
|||
"Tyrant",
|
||||
"Vex"
|
||||
};
|
||||
private static int[] m_Hues = new int[]
|
||||
private static int[] m_Hues = new[]
|
||||
{
|
||||
0xA, 0x24, 0x42, 0x56, 0x1A, 0x4C, 0x3C, 0x60, 0x2E, 0x55, 0x23, 0x38, 0x482, 0x6, 0x10
|
||||
};
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ namespace Server.Items
|
|||
[Constructible]
|
||||
public BadCard() : base( 0x14ef )
|
||||
{
|
||||
int[] m_CardHues=new int[]{ 0x45, 0x27, 0x3d0 };
|
||||
int[] m_CardHues=new[]{ 0x45, 0x27, 0x3d0 };
|
||||
Hue = m_CardHues[Utility.Random(m_CardHues.Length)];
|
||||
Stackable = false;
|
||||
LootType=LootType.Blessed;
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ namespace Server.Items
|
|||
public class SnowGlobeTwo : SnowGlobe
|
||||
{
|
||||
/* Oddly, these are not localized. */
|
||||
private static readonly string[] m_PlaceNames = new string[]
|
||||
private static readonly string[] m_PlaceNames = new[]
|
||||
{
|
||||
/* AncientCitadel */ "Ancient Citadel",
|
||||
/* BlackthornesCastle */ "Blackthorne's Castle",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
public override string DefaultName => "Snow Pile";
|
||||
public override double DefaultWeight => 2.0;
|
||||
|
||||
private static readonly int[] m_Types = new int[] { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
|
||||
private static readonly int[] m_Types = new[] { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
|
||||
|
||||
[Constructible]
|
||||
public SnowPileDeco()
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
public static string GetRandomTitle()
|
||||
{
|
||||
// All hail OSI staff
|
||||
string[] titles = new string[]
|
||||
string[] titles = new[]
|
||||
{
|
||||
/* 1 */ "Backflash",
|
||||
/* 2 */ "Carbon",
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ namespace Server.Items
|
|||
m_Graphics = graphics;
|
||||
}
|
||||
|
||||
private static MiniHouseInfo[] m_Info = new MiniHouseInfo[]
|
||||
private static MiniHouseInfo[] m_Info = new[]
|
||||
{
|
||||
/* Stone and plaster house */ new MiniHouseInfo( 0x22C4, 1, 1011303 ),
|
||||
/* Field stone house */ new MiniHouseInfo( 0x22DE, 1, 1011304 ),
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ namespace Server.Items
|
|||
{
|
||||
m_LabelNumber = labelNumber;
|
||||
m_ItemID = itemID;
|
||||
m_Sounds = new int[]{ baseSoundID, baseSoundID + 1, baseSoundID + 2, baseSoundID + 3, baseSoundID + 4 };
|
||||
m_Sounds = new[]{ baseSoundID, baseSoundID + 1, baseSoundID + 2, baseSoundID + 3, baseSoundID + 4 };
|
||||
}
|
||||
|
||||
public MonsterStatuetteInfo( int labelNumber, int itemID, int[] sounds )
|
||||
|
|
@ -73,7 +73,7 @@ namespace Server.Items
|
|||
m_Sounds = sounds;
|
||||
}
|
||||
|
||||
private static MonsterStatuetteInfo[] m_Table = new MonsterStatuetteInfo[]
|
||||
private static MonsterStatuetteInfo[] m_Table = new[]
|
||||
{
|
||||
/* Crocodile */ new MonsterStatuetteInfo( 1041249, 0x20DA, 660 ),
|
||||
/* Daemon */ new MonsterStatuetteInfo( 1041250, 0x20D3, 357 ),
|
||||
|
|
@ -100,7 +100,7 @@ namespace Server.Items
|
|||
/* Wolf */ new MonsterStatuetteInfo( 1049770, 0x2122, 229 ),
|
||||
/* Phillip's Steed */ new MonsterStatuetteInfo( 1063488, 0x3FFE, 168 ),
|
||||
/* Seahorse */ new MonsterStatuetteInfo( 1070819, 0x25BA, 138 ),
|
||||
/* Harrower */ new MonsterStatuetteInfo( 1080520, 0x25BB, new int[] { 0x289, 0x28A, 0x28B } ),
|
||||
/* Harrower */ new MonsterStatuetteInfo( 1080520, 0x25BB, new[] { 0x289, 0x28A, 0x28B } ),
|
||||
/* Efreet */ new MonsterStatuetteInfo( 1080521, 0x2590, 0x300 ),
|
||||
/* Slime */ new MonsterStatuetteInfo( 1015246, 0x20E8, 456 ),
|
||||
/* PlagueBeast */ new MonsterStatuetteInfo( 1029747, 0x2613, 0x1BF ),
|
||||
|
|
|
|||
|
|
@ -9,14 +9,14 @@ namespace Server.Items
|
|||
public override int DefaultGumpID => 0x2A63;
|
||||
public override int DefaultDropSound => 0x23F;
|
||||
|
||||
private static int[,,] m_Positions = new int[,,]
|
||||
private static int[,,] m_Positions = new[,,]
|
||||
{
|
||||
{ { 275, 85 }, { 360, 111 }, { 375, 184 }, { 332, 228 }, { 141, 105 }, { 189, 75 } },
|
||||
{ { 274, 34 }, { 327, 89 }, { 354, 168 }, { 304, 225 }, { 113, 86 }, { 189, 75 } },
|
||||
{ { 276, 79 }, { 369, 117 }, { 372, 192 }, { 336, 230 }, { 141, 116 }, { 189, 75 } },
|
||||
};
|
||||
|
||||
private static int[] m_BrainHues = new int[]
|
||||
private static int[] m_BrainHues = new[]
|
||||
{
|
||||
0x2B, 0x42, 0x54, 0x60
|
||||
};
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ namespace Server.Items
|
|||
Opened = true;
|
||||
}
|
||||
|
||||
private static int[] m_Hues = new int[]
|
||||
private static int[] m_Hues = new[]
|
||||
{
|
||||
0xD, 0x17, 0x2B, 0x42, 0x54, 0x5D
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Server.Items
|
|||
|
||||
public override string DefaultTitle => String.Format( "<basefont color=#FFFFFF>Power Scroll ({0} Skill):</basefont>", Value );
|
||||
|
||||
private static SkillName[] m_Skills = new SkillName[]
|
||||
private static SkillName[] m_Skills = new[]
|
||||
{
|
||||
SkillName.Blacksmith,
|
||||
SkillName.Tailoring,
|
||||
|
|
@ -53,7 +53,7 @@ namespace Server.Items
|
|||
SkillName.Peacemaking
|
||||
};
|
||||
|
||||
private static SkillName[] m_AOSSkills = new SkillName[]
|
||||
private static SkillName[] m_AOSSkills = new[]
|
||||
{
|
||||
SkillName.Chivalry,
|
||||
SkillName.Focus,
|
||||
|
|
@ -63,13 +63,13 @@ namespace Server.Items
|
|||
SkillName.SpiritSpeak
|
||||
};
|
||||
|
||||
private static SkillName[] m_SESkills = new SkillName[]
|
||||
private static SkillName[] m_SESkills = new[]
|
||||
{
|
||||
SkillName.Ninjitsu,
|
||||
SkillName.Bushido
|
||||
};
|
||||
|
||||
private static SkillName[] m_MLSkills = new SkillName[]
|
||||
private static SkillName[] m_MLSkills = new[]
|
||||
{
|
||||
SkillName.Spellweaving
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ namespace Server.Items
|
|||
base.OnDelete();
|
||||
}
|
||||
|
||||
private static int[] m_Art = new int[]
|
||||
private static int[] m_Art = new[]
|
||||
{
|
||||
0x19AA, 0x19BB
|
||||
};
|
||||
|
|
|
|||
|
|
@ -194,7 +194,7 @@ namespace Server.Items
|
|||
from.SendLocalizedMessage( 1076198 ); // You do not have a full keg of explosion potions needed to recharge the cannon.
|
||||
}
|
||||
|
||||
private static int[] m_Effects = new int[]
|
||||
private static int[] m_Effects = new[]
|
||||
{
|
||||
0x36B0, 0x3728, 0x3709, 0x36FE
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue