Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue