Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -6,7 +6,7 @@ namespace Server.Engines.Quests.Ambitious
{
public class AmbitiousQueenQuest : QuestSystem
{
private static Type[] m_TypeReferenceTable =
private static readonly Type[] m_TypeReferenceTable =
{
typeof(DontOfferConversation),
typeof(AcceptConversation),
@ -40,7 +40,7 @@ namespace Server.Engines.Quests.Ambitious
public override int Picture => 0x15C9;
public bool RedSolen{ get; private set; }
public bool RedSolen { get; private set; }
public override void ChildDeserialize(IGenericReader reader)
{

View file

@ -65,7 +65,7 @@ namespace Server.Engines.Quests.Ambitious
private bool m_BagOfSending;
private bool m_Gold;
private bool m_Logged;
private readonly bool m_Logged;
private bool m_PowderOfTranslocation;
public FullBackpackConversation(bool logged, bool bagOfSending, bool powderOfTranslocation, bool gold)

View file

@ -13,7 +13,7 @@ namespace Server.Engines.Quests.Ambitious
{
}
public abstract bool RedSolen{ get; }
public abstract bool RedSolen { get; }
public override string DefaultName => "an ambitious solen queen";
public override bool DisallowAllMoves => false;
@ -54,7 +54,7 @@ namespace Server.Engines.Quests.Ambitious
else
{
GetRewardObjective lastObj = qs.FindObjective<GetRewardObjective>();
if (lastObj?.Completed == false)
{
bool bagOfSending = lastObj.BagOfSending;

View file

@ -95,11 +95,11 @@ namespace Server.Engines.Quests.Ambitious
public override object Message => 1054148;
public bool BagOfSending{ get; set; }
public bool BagOfSending { get; set; }
public bool PowderOfTranslocation{ get; set; }
public bool PowderOfTranslocation { get; set; }
public bool Gold{ get; set; }
public bool Gold { get; set; }
public override void OnComplete()
{