Removes implicit types

This commit is contained in:
Kamron Batman 2018-09-14 08:48:39 -07:00
parent 33f5e77a24
commit 04b4cfe75b
261 changed files with 1329 additions and 1329 deletions

View file

@ -6,7 +6,7 @@ namespace Server.Items
{
public abstract class BasePigmentsOfTokuno : Item, IUsesRemaining
{
private static Type[] m_Glasses = new Type[]
private static Type[] m_Glasses = new[]
{
typeof( MaritimeGlasses ),
typeof( WizardsGlasses ),
@ -22,7 +22,7 @@ namespace Server.Items
typeof( AnthropomorphistGlasses )
};
private static Type[] m_Replicas = new Type[]
private static Type[] m_Replicas = new[]
{
typeof( ANecromancerShroud ),
typeof( BraveKnightOfTheBritannia ),
@ -49,7 +49,7 @@ namespace Server.Items
typeof( Subdue )
};
private static Type[] m_DyableHeritageItems = new Type[]
private static Type[] m_DyableHeritageItems = new[]
{
typeof( ChargerOfTheFallen ),
typeof( SamuraiHelm ),

View file

@ -393,29 +393,29 @@ namespace Server.Items
public class PigmentsOfTokuno : BasePigmentsOfTokuno
{
private static int[][] m_Table = new int[][]
private static int[][] m_Table = new[]
{
// Hue, Label
new int[]{ /*PigmentType.None,*/ 0, -1 },
new int[]{ /*PigmentType.ParagonGold,*/ 0x501, 1070987 },
new int[]{ /*PigmentType.VioletCouragePurple,*/ 0x486, 1070988 },
new int[]{ /*PigmentType.InvulnerabilityBlue,*/ 0x4F2, 1070989 },
new int[]{ /*PigmentType.LunaWhite,*/ 0x47E, 1070990 },
new int[]{ /*PigmentType.DryadGreen,*/ 0x48F, 1070991 },
new int[]{ /*PigmentType.ShadowDancerBlack,*/ 0x455, 1070992 },
new int[]{ /*PigmentType.BerserkerRed,*/ 0x21, 1070993 },
new int[]{ /*PigmentType.NoxGreen,*/ 0x58C, 1070994 },
new int[]{ /*PigmentType.RumRed,*/ 0x66C, 1070995 },
new int[]{ /*PigmentType.FireOrange,*/ 0x54F, 1070996 },
new int[]{ /*PigmentType.Fadedcoal,*/ 0x96A, 1079579 },
new int[]{ /*PigmentType.Coal,*/ 0x96B, 1079580 },
new int[]{ /*PigmentType.FadedGold,*/ 0x972, 1079581 },
new int[]{ /*PigmentType.StormBronze,*/ 0x977, 1079582 },
new int[]{ /*PigmentType.Rose,*/ 0x97C, 1079583 },
new int[]{ /*PigmentType.MidnightCoal,*/ 0x96C, 1079584 },
new int[]{ /*PigmentType.FadedBronze,*/ 0x975, 1079585 },
new int[]{ /*PigmentType.FadedRose,*/ 0x97B, 1079586 },
new int[]{ /*PigmentType.DeepRose,*/ 0x97E, 1079587 }
new[]{ /*PigmentType.None,*/ 0, -1 },
new[]{ /*PigmentType.ParagonGold,*/ 0x501, 1070987 },
new[]{ /*PigmentType.VioletCouragePurple,*/ 0x486, 1070988 },
new[]{ /*PigmentType.InvulnerabilityBlue,*/ 0x4F2, 1070989 },
new[]{ /*PigmentType.LunaWhite,*/ 0x47E, 1070990 },
new[]{ /*PigmentType.DryadGreen,*/ 0x48F, 1070991 },
new[]{ /*PigmentType.ShadowDancerBlack,*/ 0x455, 1070992 },
new[]{ /*PigmentType.BerserkerRed,*/ 0x21, 1070993 },
new[]{ /*PigmentType.NoxGreen,*/ 0x58C, 1070994 },
new[]{ /*PigmentType.RumRed,*/ 0x66C, 1070995 },
new[]{ /*PigmentType.FireOrange,*/ 0x54F, 1070996 },
new[]{ /*PigmentType.Fadedcoal,*/ 0x96A, 1079579 },
new[]{ /*PigmentType.Coal,*/ 0x96B, 1079580 },
new[]{ /*PigmentType.FadedGold,*/ 0x972, 1079581 },
new[]{ /*PigmentType.StormBronze,*/ 0x977, 1079582 },
new[]{ /*PigmentType.Rose,*/ 0x97C, 1079583 },
new[]{ /*PigmentType.MidnightCoal,*/ 0x96C, 1079584 },
new[]{ /*PigmentType.FadedBronze,*/ 0x975, 1079585 },
new[]{ /*PigmentType.FadedRose,*/ 0x97B, 1079586 },
new[]{ /*PigmentType.DeepRose,*/ 0x97E, 1079587 }
};
public static int[] GetInfo( PigmentType type )

View file

@ -625,7 +625,7 @@ namespace Server.Items
public class AncientUrn : Item
{
private static string[] m_Names = new string[]
private static string[] m_Names = new[]
{
"Akira",
"Avaniaga",
@ -917,20 +917,20 @@ namespace Server.Items
public class LesserPigmentsOfTokuno : BasePigmentsOfTokuno
{
private static int[][] m_Table = new int[][]
private static int[][] m_Table = new[]
{
// Hue, Label
new int[]{ /*PigmentType.None,*/ 0, -1 },
new int[]{ /*PigmentType.PaleOrange,*/ 0x02E, 1071458 },
new int[]{ /*PigmentType.FreshRose,*/ 0x4B9, 1071455 },
new int[]{ /*PigmentType.ChaosBlue,*/ 0x005, 1071459 },
new int[]{ /*PigmentType.Silver,*/ 0x3E9, 1071451 },
new int[]{ /*PigmentType.NobleGold,*/ 0x227, 1071457 },
new int[]{ /*PigmentType.LightGreen,*/ 0x1C8, 1071454 },
new int[]{ /*PigmentType.PaleBlue,*/ 0x24F, 1071456 },
new int[]{ /*PigmentType.FreshPlum,*/ 0x145, 1071450 },
new int[]{ /*PigmentType.DeepBrown,*/ 0x3F0, 1071452 },
new int[]{ /*PigmentType.BurntBrown,*/ 0x41A, 1071453 }
new[]{ /*PigmentType.None,*/ 0, -1 },
new[]{ /*PigmentType.PaleOrange,*/ 0x02E, 1071458 },
new[]{ /*PigmentType.FreshRose,*/ 0x4B9, 1071455 },
new[]{ /*PigmentType.ChaosBlue,*/ 0x005, 1071459 },
new[]{ /*PigmentType.Silver,*/ 0x3E9, 1071451 },
new[]{ /*PigmentType.NobleGold,*/ 0x227, 1071457 },
new[]{ /*PigmentType.LightGreen,*/ 0x1C8, 1071454 },
new[]{ /*PigmentType.PaleBlue,*/ 0x24F, 1071456 },
new[]{ /*PigmentType.FreshPlum,*/ 0x145, 1071450 },
new[]{ /*PigmentType.DeepBrown,*/ 0x3F0, 1071452 },
new[]{ /*PigmentType.BurntBrown,*/ 0x41A, 1071453 }
};
public static int[] GetInfo( LesserPigmentType type )

View file

@ -21,7 +21,7 @@ namespace Server.Misc
{
public const int ItemsPerReward = 10;
private static Type[] m_LesserArtifactsTotal = new Type[]
private static Type[] m_LesserArtifactsTotal = new[]
{
typeof( AncientFarmersKasa ), typeof( AncientSamuraiDo ), typeof( ArmsOfTacticalExcellence ), typeof( BlackLotusHood ),
typeof( DaimyosHelm ), typeof( DemonForks ), typeof( DragonNunchaku ), typeof( Exiler ), typeof( GlovesOfTheSun ),
@ -47,10 +47,10 @@ namespace Server.Misc
set => _RewardEra = value;
}
private static Type[][] m_LesserArtifacts = new Type[][]
private static Type[][] m_LesserArtifacts = new[]
{
// ToT One Rewards
new Type[] {
new[] {
typeof( AncientFarmersKasa ), typeof( AncientSamuraiDo ), typeof( ArmsOfTacticalExcellence ), typeof( BlackLotusHood ),
typeof( DaimyosHelm ), typeof( DemonForks ), typeof( DragonNunchaku ), typeof( Exiler ), typeof( GlovesOfTheSun ),
typeof( HanzosBow ), typeof( LegsOfStability ), typeof( PeasantsBokuto ), typeof( PilferedDancerFans ), typeof( TheDestroyer ),
@ -58,7 +58,7 @@ namespace Server.Misc
typeof( FluteOfRenewal ), typeof( ChestOfHeirlooms )
},
// ToT Two Rewards
new Type[] {
new[] {
typeof( MetalPigmentsOfTokuno ), typeof( AncientFarmersKasa ), typeof( AncientSamuraiDo ), typeof( ArmsOfTacticalExcellence ),
typeof( MetalPigmentsOfTokuno ), typeof( BlackLotusHood ), typeof( DaimyosHelm ), typeof( DemonForks ),
typeof( MetalPigmentsOfTokuno ), typeof( DragonNunchaku ), typeof( Exiler ), typeof( GlovesOfTheSun ), typeof( HanzosBow ),
@ -67,7 +67,7 @@ namespace Server.Misc
typeof( MetalPigmentsOfTokuno ), typeof( FluteOfRenewal ), typeof( ChestOfHeirlooms )
},
// ToT Three Rewards
new Type[] {
new[] {
typeof( LesserPigmentsOfTokuno ), typeof( AncientFarmersKasa ), typeof( AncientSamuraiDo ), typeof( ArmsOfTacticalExcellence ),
typeof( LesserPigmentsOfTokuno ), typeof( BlackLotusHood ), typeof( DaimyosHelm ), typeof( HanzosBow ),
typeof( LesserPigmentsOfTokuno ), typeof( DemonForks ), typeof( DragonNunchaku ), typeof( Exiler ), typeof( GlovesOfTheSun ),
@ -432,10 +432,10 @@ namespace Server.Gumps
}
#region ToT Normal Rewards Table
private static TypeTileButtonInfo[][] m_NormalRewards = new TypeTileButtonInfo[][]
private static TypeTileButtonInfo[][] m_NormalRewards = new[]
{
// ToT One Rewards
new TypeTileButtonInfo[] {
new[] {
new TypeTileButtonInfo( typeof( SwordsOfProsperity ), 0x27A9, 1070963, 1071002 ),
new TypeTileButtonInfo( typeof( SwordOfTheStampede ), 0x27A2, 1070964, 1070978 ),
new TypeTileButtonInfo( typeof( WindsEdge ), 0x27A3, 1070965, 1071003 ),
@ -448,7 +448,7 @@ namespace Server.Gumps
new TypeTileButtonInfo( typeof( PigmentsOfTokuno ), 0x0EFF, 1070933, 1071011 )
},
// ToT Two Rewards
new TypeTileButtonInfo[] {
new[] {
new TypeTileButtonInfo( typeof( SwordsOfProsperity ), 0x27A9, 1070963, 1071002 ),
new TypeTileButtonInfo( typeof( SwordOfTheStampede ), 0x27A2, 1070964, 1070978 ),
new TypeTileButtonInfo( typeof( WindsEdge ), 0x27A3, 1070965, 1071003 ),
@ -461,7 +461,7 @@ namespace Server.Gumps
new TypeTileButtonInfo( typeof( PigmentsOfTokuno ), 0x0EFF, 1070933, 1071011 )
},
// ToT Three Rewards
new TypeTileButtonInfo[] {
new[] {
new TypeTileButtonInfo( typeof( SwordsOfProsperity ), 0x27A9, 1070963, 1071002 ),
new TypeTileButtonInfo( typeof( SwordOfTheStampede ), 0x27A2, 1070964, 1070978 ),
new TypeTileButtonInfo( typeof( WindsEdge ), 0x27A3, 1070965, 1071003 ),
@ -478,10 +478,10 @@ namespace Server.Gumps
public static TypeTileButtonInfo[][] NormalRewards => m_NormalRewards;
#region ToT Pigment Rewards Table
private static PigmentsTileButtonInfo[][] m_PigmentRewards = new PigmentsTileButtonInfo[][]
private static PigmentsTileButtonInfo[][] m_PigmentRewards = new[]
{
// ToT One Pigment Rewards
new PigmentsTileButtonInfo[] {
new[] {
new PigmentsTileButtonInfo( PigmentType.ParagonGold ),
new PigmentsTileButtonInfo( PigmentType.VioletCouragePurple ),
new PigmentsTileButtonInfo( PigmentType.InvulnerabilityBlue ),
@ -494,7 +494,7 @@ namespace Server.Gumps
new PigmentsTileButtonInfo( PigmentType.FireOrange )
},
// ToT Two Pigment Rewards
new PigmentsTileButtonInfo[] {
new[] {
new PigmentsTileButtonInfo( PigmentType.FadedCoal ),
new PigmentsTileButtonInfo( PigmentType.Coal ),
new PigmentsTileButtonInfo( PigmentType.FadedGold ),
@ -506,7 +506,7 @@ namespace Server.Gumps
new PigmentsTileButtonInfo( PigmentType.DeepRose )
},
// ToT Three Pigment Rewards
new PigmentsTileButtonInfo[] {
new[] {
new PigmentsTileButtonInfo( PigmentType.ParagonGold ),
new PigmentsTileButtonInfo( PigmentType.VioletCouragePurple ),
new PigmentsTileButtonInfo( PigmentType.InvulnerabilityBlue ),