Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -16,7 +16,7 @@ namespace Server.Engines.Quests.Matriarch
}
}
public override int MaxProgress{ get{ return 7; } }
public override int MaxProgress => 7;
public KillInfiltratorsObjective()
{
@ -107,7 +107,7 @@ namespace Server.Engines.Quests.Matriarch
}
}
public override int MaxProgress{ get{ return 40; } }
public override int MaxProgress => 40;
public GatherWaterObjective()
{
@ -213,4 +213,4 @@ namespace Server.Engines.Quests.Matriarch
System.AddConversation( new EndConversation() );
}
}
}
}

View file

@ -26,7 +26,7 @@ namespace Server.Engines.Quests.Matriarch
typeof( Matriarch.GetRewardObjective )
};
public override Type[] TypeReferenceTable{ get{ return m_TypeReferenceTable; } }
public override Type[] TypeReferenceTable => m_TypeReferenceTable;
public override object Name
{
@ -93,10 +93,10 @@ namespace Server.Engines.Quests.Matriarch
}
}
public override TimeSpan RestartDelay{ get{ return TimeSpan.Zero; } }
public override TimeSpan RestartDelay => TimeSpan.Zero;
public override bool IsTutorial => false;
public override int Picture{ get{ return 0x15C9; } }
public override int Picture => 0x15C9;
private bool m_RedSolen;