Fixes implicit array initializers
This commit is contained in:
parent
7d3a0ca265
commit
fee83ce560
189 changed files with 440 additions and 808 deletions
|
|
@ -4,8 +4,7 @@ namespace Server.Items
|
|||
{
|
||||
public class HolidayBell : Item
|
||||
{
|
||||
private static string[] m_StaffNames = new[]
|
||||
{
|
||||
private static string[] m_StaffNames = {
|
||||
"Adrick",
|
||||
"Alai",
|
||||
"Bulldoz",
|
||||
|
|
@ -29,8 +28,7 @@ namespace Server.Items
|
|||
"Tyrant",
|
||||
"Vex"
|
||||
};
|
||||
private static int[] m_Hues = new[]
|
||||
{
|
||||
private static int[] m_Hues = {
|
||||
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[]{ 0x45, 0x27, 0x3d0 };
|
||||
int[] m_CardHues={ 0x45, 0x27, 0x3d0 };
|
||||
Hue = m_CardHues[Utility.Random(m_CardHues.Length)];
|
||||
Stackable = false;
|
||||
LootType=LootType.Blessed;
|
||||
|
|
|
|||
|
|
@ -137,8 +137,7 @@ namespace Server.Items
|
|||
public class SnowGlobeTwo : SnowGlobe
|
||||
{
|
||||
/* Oddly, these are not localized. */
|
||||
private static readonly string[] m_PlaceNames = new[]
|
||||
{
|
||||
private static readonly string[] m_PlaceNames = {
|
||||
/* AncientCitadel */ "Ancient Citadel",
|
||||
/* BlackthornesCastle */ "Blackthorne's Castle",
|
||||
/* CityofMontor */ "City of Montor",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
public override string DefaultName => "Snow Pile";
|
||||
public override double DefaultWeight => 2.0;
|
||||
|
||||
private static readonly int[] m_Types = new[] { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
|
||||
private static readonly int[] m_Types = { 0x8E2, 0x8E0, 0x8E6, 0x8E5, 0x8E3 };
|
||||
|
||||
[Constructible]
|
||||
public SnowPileDeco()
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@ namespace Server.Items
|
|||
public static string GetRandomTitle()
|
||||
{
|
||||
// All hail OSI staff
|
||||
string[] titles = new[]
|
||||
{
|
||||
string[] titles = {
|
||||
/* 1 */ "Backflash",
|
||||
/* 2 */ "Carbon",
|
||||
/* 3 */ "Colbalistic",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue