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

@ -6,7 +6,7 @@ namespace Server.Items
[FlippableAttribute( 0x4F7C, 0x4F7D )]
public class CupidStatue : Item
{
public override int LabelNumber { get { return 1099220; } } // cupid statue
public override int LabelNumber => 1099220; // cupid statue
[Constructible]
public CupidStatue()

View file

@ -8,7 +8,7 @@ namespace Server.Items
{
// TODO: Check messages
public override int LabelNumber { get { return 1152270; } } // Cupid's Arrow 2012
public override int LabelNumber => 1152270; // Cupid's Arrow 2012
private string m_From;
private string m_To;

View file

@ -6,7 +6,7 @@ namespace Server.Items
[FlippableAttribute( 0x49CA, 0x49CB )]
public class HeartShapedBox : BaseContainer
{
public override int DefaultDropSound { get { return m_DropSound; } }
public override int DefaultDropSound => m_DropSound;
[Constructible]
public HeartShapedBox()