Removes implicit types
This commit is contained in:
parent
33f5e77a24
commit
04b4cfe75b
261 changed files with 1329 additions and 1329 deletions
|
|
@ -58,14 +58,14 @@ namespace Server.Items
|
|||
return;
|
||||
|
||||
int res = pack.ConsumeTotal(
|
||||
new Type[]
|
||||
new[]
|
||||
{
|
||||
typeof( PowerCrystal ),
|
||||
typeof( IronIngot ),
|
||||
typeof( BronzeIngot ),
|
||||
typeof( Gears )
|
||||
},
|
||||
new int[]
|
||||
new[]
|
||||
{
|
||||
1,
|
||||
50,
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ namespace Server.Items
|
|||
{
|
||||
public class CrystalRechargeInfo
|
||||
{
|
||||
public static readonly CrystalRechargeInfo[] Table = new CrystalRechargeInfo[]
|
||||
public static readonly CrystalRechargeInfo[] Table = new[]
|
||||
{
|
||||
new CrystalRechargeInfo( typeof( Citrine ), 500 ),
|
||||
new CrystalRechargeInfo( typeof( Amber ), 500 ),
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
{
|
||||
public class DeceitBrazier : Item
|
||||
{
|
||||
private static Type[] m_Creatures = new Type[]
|
||||
private static Type[] m_Creatures = new[]
|
||||
{
|
||||
#region Animals
|
||||
typeof( FireSteed ), //Set the tents up people!
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ namespace Server.Items
|
|||
{
|
||||
private static string m_MethodName = "Flip";
|
||||
|
||||
private static Type[] m_Params = new Type[]
|
||||
private static Type[] m_Params = new[]
|
||||
{
|
||||
typeof( Mobile ), typeof( Direction )
|
||||
};
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
private static HairDyeEntry[] m_Entries = new HairDyeEntry[]
|
||||
private static HairDyeEntry[] m_Entries = new[]
|
||||
{
|
||||
new HairDyeEntry( "*****", 1602, 26 ),
|
||||
new HairDyeEntry( "*****", 1628, 27 ),
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ namespace Server.Items
|
|||
if ( cont == null || keyValue == 0 )
|
||||
return;
|
||||
|
||||
Item[] items = cont.FindItemsByType( new Type[] { typeof( Key ), typeof( KeyRing ) } );
|
||||
Item[] items = cont.FindItemsByType( new[] { typeof( Key ), typeof( KeyRing ) } );
|
||||
|
||||
foreach ( Item item in items )
|
||||
{
|
||||
|
|
@ -68,7 +68,7 @@ namespace Server.Items
|
|||
if ( cont == null )
|
||||
return false;
|
||||
|
||||
Item[] items = cont.FindItemsByType( new Type[] { typeof( Key ), typeof( KeyRing ) } );
|
||||
Item[] items = cont.FindItemsByType( new[] { typeof( Key ), typeof( KeyRing ) } );
|
||||
|
||||
foreach ( Item item in items )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
public override int LabelNumber => 1075095; // Shimmering Crystals
|
||||
public override bool ForceShowProperties => true;
|
||||
|
||||
private static readonly int[] m_ItemIDs = new int[]
|
||||
private static readonly int[] m_ItemIDs = new[]
|
||||
{
|
||||
0x2206, 0x2207, 0x2208, 0x2209, 0x220A, 0x220B, 0x220C, 0x220D, 0x220E,
|
||||
0x2210, 0x2211, 0x2212, 0x2213, 0x2214, 0x2215, 0x2216, 0x2217, 0x2218,
|
||||
|
|
|
|||
|
|
@ -191,7 +191,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
public static readonly PMList Trammel =
|
||||
new PMList( 1012000, 1012012, Map.Trammel, new PMEntry[]
|
||||
new PMList( 1012000, 1012012, Map.Trammel, new[]
|
||||
{
|
||||
new PMEntry( new Point3D( 4467, 1283, 5 ), 1012003 ), // Moonglow
|
||||
new PMEntry( new Point3D( 1336, 1997, 5 ), 1012004 ), // Britain
|
||||
|
|
@ -206,7 +206,7 @@ namespace Server.Items
|
|||
} );
|
||||
|
||||
public static readonly PMList Felucca =
|
||||
new PMList( 1012001, 1012013, Map.Felucca, new PMEntry[]
|
||||
new PMList( 1012001, 1012013, Map.Felucca, new[]
|
||||
{
|
||||
new PMEntry( new Point3D( 4467, 1283, 5 ), 1012003 ), // Moonglow
|
||||
new PMEntry( new Point3D( 1336, 1997, 5 ), 1012004 ), // Britain
|
||||
|
|
@ -221,7 +221,7 @@ namespace Server.Items
|
|||
} );
|
||||
|
||||
public static readonly PMList Ilshenar =
|
||||
new PMList( 1012002, 1012014, Map.Ilshenar, new PMEntry[]
|
||||
new PMList( 1012002, 1012014, Map.Ilshenar, new[]
|
||||
{
|
||||
new PMEntry( new Point3D( 1215, 467, -13 ), 1012015 ), // Compassion
|
||||
new PMEntry( new Point3D( 722, 1366, -60 ), 1012016 ), // Honesty
|
||||
|
|
@ -235,30 +235,30 @@ namespace Server.Items
|
|||
} );
|
||||
|
||||
public static readonly PMList Malas =
|
||||
new PMList( 1060643, 1062039, Map.Malas, new PMEntry[]
|
||||
new PMList( 1060643, 1062039, Map.Malas, new[]
|
||||
{
|
||||
new PMEntry( new Point3D( 1015, 527, -65 ), 1060641 ), // Luna
|
||||
new PMEntry( new Point3D( 1997, 1386, -85 ), 1060642 ) // Umbra
|
||||
} );
|
||||
|
||||
public static readonly PMList Tokuno =
|
||||
new PMList( 1063258, 1063415, Map.Tokuno, new PMEntry[]
|
||||
new PMList( 1063258, 1063415, Map.Tokuno, new[]
|
||||
{
|
||||
new PMEntry( new Point3D( 1169, 998, 41 ), 1063412 ), // Isamu-Jima
|
||||
new PMEntry( new Point3D( 802, 1204, 25 ), 1063413 ), // Makoto-Jima
|
||||
new PMEntry( new Point3D( 270, 628, 15 ), 1063414 ) // Homare-Jima
|
||||
} );
|
||||
|
||||
public static readonly PMList[] UORLists = new PMList[] { Trammel, Felucca };
|
||||
public static readonly PMList[] UORListsYoung = new PMList[] { Trammel };
|
||||
public static readonly PMList[] LBRLists = new PMList[] { Trammel, Felucca, Ilshenar };
|
||||
public static readonly PMList[] LBRListsYoung = new PMList[] { Trammel, Ilshenar };
|
||||
public static readonly PMList[] AOSLists = new PMList[] { Trammel, Felucca, Ilshenar, Malas };
|
||||
public static readonly PMList[] AOSListsYoung = new PMList[] { Trammel, Ilshenar, Malas };
|
||||
public static readonly PMList[] SELists = new PMList[] { Trammel, Felucca, Ilshenar, Malas, Tokuno };
|
||||
public static readonly PMList[] SEListsYoung = new PMList[] { Trammel, Ilshenar, Malas, Tokuno };
|
||||
public static readonly PMList[] RedLists = new PMList[] { Felucca };
|
||||
public static readonly PMList[] SigilLists = new PMList[] { Felucca };
|
||||
public static readonly PMList[] UORLists = new[] { Trammel, Felucca };
|
||||
public static readonly PMList[] UORListsYoung = new[] { Trammel };
|
||||
public static readonly PMList[] LBRLists = new[] { Trammel, Felucca, Ilshenar };
|
||||
public static readonly PMList[] LBRListsYoung = new[] { Trammel, Ilshenar };
|
||||
public static readonly PMList[] AOSLists = new[] { Trammel, Felucca, Ilshenar, Malas };
|
||||
public static readonly PMList[] AOSListsYoung = new[] { Trammel, Ilshenar, Malas };
|
||||
public static readonly PMList[] SELists = new[] { Trammel, Felucca, Ilshenar, Malas, Tokuno };
|
||||
public static readonly PMList[] SEListsYoung = new[] { Trammel, Ilshenar, Malas, Tokuno };
|
||||
public static readonly PMList[] RedLists = new[] { Felucca };
|
||||
public static readonly PMList[] SigilLists = new[] { Felucca };
|
||||
}
|
||||
|
||||
public class MoongateGump : Gump
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
private static SpecialBeardDyeEntry[] m_Entries = new SpecialBeardDyeEntry[]
|
||||
private static SpecialBeardDyeEntry[] m_Entries = new[]
|
||||
{
|
||||
new SpecialBeardDyeEntry( "*****", 12, 10 ),
|
||||
new SpecialBeardDyeEntry( "*****", 32, 5 ),
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
|
||||
private static SpecialHairDyeEntry[] m_Entries = new SpecialHairDyeEntry[]
|
||||
private static SpecialHairDyeEntry[] m_Entries = new[]
|
||||
{
|
||||
new SpecialHairDyeEntry( "*****", 12, 10 ),
|
||||
new SpecialHairDyeEntry( "*****", 32, 5 ),
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
private static int[] m_Sounds = new int[] { 0x505, 0x506, 0x507 };
|
||||
private static int[] m_Sounds = new[] { 0x505, 0x506, 0x507 };
|
||||
|
||||
public static int[] Sounds => m_Sounds;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue