Adds style cop (#109)
This commit is contained in:
parent
3e715bcb60
commit
556a17aba8
1725 changed files with 33831 additions and 38046 deletions
|
|
@ -65,10 +65,10 @@ namespace Server.Items
|
|||
|
||||
private class LogoutGump : Gump
|
||||
{
|
||||
private Bedroll m_Bedroll;
|
||||
private Timer m_CloseTimer;
|
||||
private readonly Bedroll m_Bedroll;
|
||||
private readonly Timer m_CloseTimer;
|
||||
|
||||
private CampfireEntry m_Entry;
|
||||
private readonly CampfireEntry m_Entry;
|
||||
|
||||
public LogoutGump(CampfireEntry entry, Bedroll bedroll) : base(100, 0)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -19,9 +19,9 @@ namespace Server.Items
|
|||
|
||||
private static readonly Dictionary<Mobile, CampfireEntry> m_Table = new Dictionary<Mobile, CampfireEntry>();
|
||||
|
||||
private List<CampfireEntry> m_Entries;
|
||||
private readonly List<CampfireEntry> m_Entries;
|
||||
|
||||
private Timer m_Timer;
|
||||
private readonly Timer m_Timer;
|
||||
|
||||
public Campfire() : base(0xDE3)
|
||||
{
|
||||
|
|
@ -39,7 +39,7 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public DateTime Created{ get; }
|
||||
public DateTime Created { get; }
|
||||
|
||||
[CommandProperty(AccessLevel.GameMaster)]
|
||||
public CampfireStatus Status
|
||||
|
|
@ -176,11 +176,11 @@ namespace Server.Items
|
|||
m_Safe = false;
|
||||
}
|
||||
|
||||
public PlayerMobile Player{ get; }
|
||||
public PlayerMobile Player { get; }
|
||||
|
||||
public Campfire Fire{ get; }
|
||||
public Campfire Fire { get; }
|
||||
|
||||
public DateTime Start{ get; }
|
||||
public DateTime Start { get; }
|
||||
|
||||
public bool Valid => !Fire.Deleted && Fire.Status != CampfireStatus.Off && Player.Map == Fire.Map &&
|
||||
Player.InRange(Fire, Campfire.SecureRange);
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ namespace Server.Items
|
|||
{
|
||||
}
|
||||
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue