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

@ -50,13 +50,13 @@ namespace Server.Items
}
[CommandProperty(AccessLevel.GameMaster)]
public int MoveSound{ get; set; }
public int MoveSound { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public int StopSound{ get; set; }
public int StopSound { get; set; }
[CommandProperty(AccessLevel.GameMaster)]
public TimeSpan CloseDelay{ get; set; }
public TimeSpan CloseDelay { get; set; }
public bool IsRaisable => m_RaiseTimer == null;
@ -100,8 +100,8 @@ namespace Server.Items
private class RaiseTimer : Timer
{
private DateTime m_CloseTime;
private RaisableItem m_Item;
private readonly DateTime m_CloseTime;
private readonly RaisableItem m_Item;
private int m_Step;
private bool m_Up;