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

@ -97,7 +97,7 @@ namespace Server.Items
private class InternalGump : Gump
{
private HearthOfHomeFireDeed m_Deed;
private readonly HearthOfHomeFireDeed m_Deed;
public InternalGump(HearthOfHomeFireDeed deed) : base(150, 50)
{

View file

@ -59,7 +59,7 @@ namespace Server.Items
}
[CommandProperty(AccessLevel.GameMaster)]
public SecureLevel Level{ get; set; }
public SecureLevel Level { get; set; }
public override void GetProperties(ObjectPropertyList list)
{
@ -134,7 +134,7 @@ namespace Server.Items
private class SpawnTimer : Timer
{
private RoseOfTrinsic m_Rose;
private readonly RoseOfTrinsic m_Rose;
public SpawnTimer(RoseOfTrinsic rose, TimeSpan delay) : base(delay)
{
@ -172,7 +172,6 @@ namespace Server.Items
public override int LabelNumber => 1062926; // Petal of the Rose of Trinsic
public override void OnDoubleClick(Mobile from)
{
if (!IsChildOf(from.Backpack))

View file

@ -23,7 +23,7 @@ namespace Server.Items
public override int LabelNumber => 1062917; // The Tapestry of Sosaria
[CommandProperty(AccessLevel.GameMaster)]
public SecureLevel Level{ get; set; }
public SecureLevel Level { get; set; }
public override void GetContextMenuEntries(Mobile from, List<ContextMenuEntry> list)
{