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.Engines.Quests.Ambitious
{
public class AmbitiousQueenQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Ambitious.DontOfferConversation ),
typeof( Ambitious.AcceptConversation ),

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Collector
{
public class CollectorQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Collector.DontOfferConversation ),
typeof( Collector.DeclineConversation ),

View file

@ -31,7 +31,7 @@ namespace Server.Engines.Quests.Collector
public class ImageTypeInfo
{
private static readonly ImageTypeInfo[] m_Table = new ImageTypeInfo[]
private static readonly ImageTypeInfo[] m_Table = new[]
{
new ImageTypeInfo( 9734, typeof( Betrayer ), 75, 45 ),
new ImageTypeInfo( 9735, typeof( Bogling ), 75, 45 ),

View file

@ -7,7 +7,7 @@ namespace Server.Engines.Quests.Collector
{
public class Obsidian : Item
{
private static readonly string[] m_Names = new string[]
private static readonly string[] m_Names = new[]
{
null,
"an aggressive cavalier",

View file

@ -5,7 +5,7 @@ namespace Server.Items
public class EnchantedSextant : Item
{
//TODO: Trammel/Haven
private static readonly Point2D[] m_TrammelBanks = new Point2D[]
private static readonly Point2D[] m_TrammelBanks = new[]
{
new Point2D( 652, 820 ),
new Point2D( 1813, 2825 ),
@ -27,7 +27,7 @@ namespace Server.Items
new Point2D( 5669, 3131 )
};
private static readonly Point2D[] m_FeluccaBanks = new Point2D[]
private static readonly Point2D[] m_FeluccaBanks = new[]
{
new Point2D( 652, 820 ),
new Point2D( 1813, 2825 ),
@ -49,7 +49,7 @@ namespace Server.Items
new Point2D( 5669, 3131 )
};
private static readonly Point2D[] m_IlshenarBanks = new Point2D[]
private static readonly Point2D[] m_IlshenarBanks = new[]
{
new Point2D( 854, 680 ),
new Point2D( 855, 603 ),
@ -57,7 +57,7 @@ namespace Server.Items
new Point2D( 1610, 556 )
};
private static readonly Point2D[] m_MalasBanks = new Point2D[]
private static readonly Point2D[] m_MalasBanks = new[]
{
new Point2D( 996, 519 ),
new Point2D( 2048, 1345 )

View file

@ -13,7 +13,7 @@ namespace Server.Engines.Quests
public abstract class QuestSystem
{
public static readonly Type[] QuestTypes = new Type[]
public static readonly Type[] QuestTypes = new[]
{
typeof( Doom.TheSummoningQuest ),
typeof( Necro.DarkTidesQuest ),

View file

@ -26,7 +26,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060099;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1026153, 6178 ), // teleporter
new QuestItemInfo( 1049117, 4036 ), // Horn of Retreat
@ -49,7 +49,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060103;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1026153, 6178 ) // teleporter
};
@ -98,7 +98,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060110;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1023643, 8787 ) // spellbook
};

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Necro
{
public class DarkTidesQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Necro.AcceptConversation ),
typeof( Necro.AnimateMaabusCorpseObjective ),

View file

@ -7,7 +7,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060102;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1023643, 8787 ) // spellbook
};
@ -116,7 +116,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060109;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1023676, 3679 ) // glowing rune
};
@ -197,7 +197,7 @@ namespace Server.Engines.Quests.Necro
{
public override object Message => 1060115;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1026153, 6178 ) // teleporter
};

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Ninja
{
public class EminosUndertakingQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Ninja.AcceptConversation ),
typeof( Ninja.FindZoelConversation ),

View file

@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Ninja
{
public class HiddenFigure : BaseQuester
{
public static int[] Messages = new int[]
public static int[] Messages = new[]
{
1063191, // They won<6F>t find me here.
1063192 // Ah, a quiet hideout.

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Samurai
{
public class HaochisTrialsQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Samurai.AcceptConversation ),
typeof( Samurai.RadarConversation ),

View file

@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Matriarch
{
public class SolenMatriarchQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Matriarch.DontOfferConversation ),
typeof( Matriarch.AcceptConversation ),

View file

@ -2,7 +2,7 @@ namespace Server.Engines.Quests.Naturalist
{
public class NestArea
{
private static readonly NestArea[] m_Areas = new NestArea[]
private static readonly NestArea[] m_Areas = new[]
{
new NestArea( false, new Rectangle2D( 5861, 1787, 26, 25 ) ),

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Naturalist
{
public class StudyOfSolenQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( StudyNestsObjective ),
typeof( ReturnToNaturalistObjective ),

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Zento
{
public class TerribleHatchlingsQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( AcceptConversation ),
typeof( DirectionConversation ),

View file

@ -95,7 +95,7 @@ namespace Server.Engines.Quests.Doom
Delete();
}
private static int[] m_Offsets = new int[]
private static int[] m_Offsets = new[]
{
-1, -1,
-1, 0,

View file

@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Doom
{
public class TheSummoningQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Doom.AcceptConversation ),
typeof( Doom.CollectBonesObjective ),

View file

@ -125,7 +125,7 @@ namespace Server.Engines.Quests.Haven
}
}
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1023676, 0xE68 ) // glowing rune
};
@ -214,7 +214,7 @@ namespace Server.Engines.Quests.Haven
}
}
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1026153, 0x1822 ), // teleporter
new QuestItemInfo( 1048032, 0xE76 ) // a bag
@ -291,7 +291,7 @@ namespace Server.Engines.Quests.Haven
}
}
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1023637, 0xE34 ) // scroll
};
@ -312,7 +312,7 @@ namespace Server.Engines.Quests.Haven
{
public override object Message => 1049325;
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1048030, 0x14EB ), // a Treasure Map
new QuestItemInfo( 1023969, 0xF81 ), // Fertile Dirt
@ -401,7 +401,7 @@ namespace Server.Engines.Quests.Haven
}
}
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1023965, 0xF7D ), // Daemon Blood
new QuestItemInfo( 1022581, 0xA22 ), // lantern
@ -469,12 +469,12 @@ namespace Server.Engines.Quests.Haven
}
}
private static QuestItemInfo[] m_Info = new QuestItemInfo[]
private static QuestItemInfo[] m_Info = new[]
{
new QuestItemInfo( 1017412, 0xF80 ), // Daemon Bone
};
private static QuestItemInfo[] m_InfoPaladin = new QuestItemInfo[]
private static QuestItemInfo[] m_InfoPaladin = new[]
{
new QuestItemInfo( 1017412, 0xF80 ), // Daemon Bone
new QuestItemInfo( 1060577, 0x1F14 ), // Recall Rune

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Haven
{
public class UzeraanTurmoilQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Haven.AcceptConversation ),
typeof( Haven.UzeraanTitheConversation ),

View file

@ -24,7 +24,7 @@ namespace Server.Engines.Quests.Hag
public class IngredientInfo
{
private static IngredientInfo[] m_Table = new IngredientInfo[]
private static IngredientInfo[] m_Table = new[]
{
// sheep liver
new IngredientInfo( 1055020, 5, typeof( Sheep ) ),

View file

@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Hag
{
public class FindApprenticeObjective : QuestObjective
{
private static Point3D[] m_CorpseLocations = new Point3D[]
private static Point3D[] m_CorpseLocations = new[]
{
new Point3D( 778, 1158, 0 ),
new Point3D( 698, 1443, 0 ),

View file

@ -5,7 +5,7 @@ namespace Server.Engines.Quests.Hag
{
public class WitchApprenticeQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable = new Type[]
private static Type[] m_TypeReferenceTable = new[]
{
typeof( Hag.FindApprenticeObjective ),
typeof( Hag.FindGrizeldaAboutMurderObjective ),
@ -58,7 +58,7 @@ namespace Server.Engines.Quests.Hag
AddConversation( new AcceptConversation() );
}
private static Point3D[] m_ZeefzorpulLocations = new Point3D[]
private static Point3D[] m_ZeefzorpulLocations = new[]
{
new Point3D( 1226, 1573, 0 ),
new Point3D( 1929, 1148, 0 ),