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

@ -8,7 +8,7 @@ namespace Server.Engines.MLQuests.Rewards
{
public BaseReward(TextDefinition name) => Name = name;
public TextDefinition Name{ get; set; }
public TextDefinition Name { get; set; }
protected virtual int LabelHeight => 16;

View file

@ -37,9 +37,9 @@ namespace Server.Engines.MLQuests.Rewards
public static readonly ItemReward
TinkerSatchel = new ItemReward(1074282, typeof(TinkerSatchel)); // Craftsman's Satchel
private int m_Amount;
private readonly int m_Amount;
private Type m_Type;
private readonly Type m_Type;
public ItemReward(TextDefinition name = null, Type type = null, int amount = 1)
: base(name)