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

@ -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
};

View file

@ -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;

View file

@ -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",

View file

@ -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()

View file

@ -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",