Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 • committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -51,7 +51,7 @@ namespace Server.Items
base.Serialize( writer );
writer.Write( (int) 1 ); // version
writer.Write( (int)m_SecureLevel );
writer.Write( (bool) m_Redyable );
writer.Write( (int) m_DyedHue );
@ -109,7 +109,7 @@ namespace Server.Items
}
}
}
[CommandProperty( AccessLevel.GameMaster )]
public SecureLevel Level
{
@ -123,13 +123,13 @@ namespace Server.Items
}
}
[Constructible]
[Constructible]
public DyeTub() : base( 0xFAB )
{
Weight = 10.0;
m_Redyable = true;
}
public override void GetContextMenuEntries( Mobile from, List<ContextMenuEntry> list )
{
base.GetContextMenuEntries( from, list );
@ -141,7 +141,7 @@ namespace Server.Items
}
// Three metallic tubs now.
public virtual bool MetallicHues{ get { return false; } }
public virtual bool MetallicHues => false;
// Select the clothing to dye.
public virtual int TargetMessage{ get{ return 500859; } }
@ -290,4 +290,4 @@ namespace Server.Items
}
}
}
}
}