Fixes implicit array initializers

This commit is contained in:
Kamron Batman 2018-09-14 13:14:20 -07:00
parent 7d3a0ca265
commit fee83ce560
189 changed files with 440 additions and 808 deletions

View file

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

View file

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

View file

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