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

@ -9,11 +9,11 @@ namespace Server.Gumps
public interface IRewardEntry
{
int Price{ get; }
int ItemID{ get; }
int Hue{ get; }
int Tooltip{ get; }
TextDefinition Description{ get; }
int Price { get; }
int ItemID { get; }
int Hue { get; }
int Tooltip { get; }
TextDefinition Description { get; }
}
public delegate void RewardPickedHandler(Mobile from, int index);
@ -100,13 +100,13 @@ namespace Server.Gumps
}
}
public TextDefinition Title{ get; }
public TextDefinition Title { get; }
public IRewardEntry[] Rewards{ get; }
public IRewardEntry[] Rewards { get; }
public int Points{ get; }
public int Points { get; }
public RewardPickedHandler OnPicked{ get; }
public RewardPickedHandler OnPicked { get; }
public override void OnResponse(NetState sender, RelayInfo info)
{
@ -129,8 +129,8 @@ namespace Server.Gumps
public class RewardConfirmGump : Gump
{
private int m_Index;
private RewardGump m_Parent;
private readonly int m_Index;
private readonly RewardGump m_Parent;
public RewardConfirmGump(RewardGump parent, int index, IRewardEntry entry)
: base(120, 50)