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

@ -4,7 +4,7 @@ namespace Server.Items
{
public class BoneCouchComponent : AddonComponent
{
public override int LabelNumber { get { return 1074477; } } // Bone couch
public override int LabelNumber => 1074477; // Bone couch
public BoneCouchComponent( int itemID ) : base( itemID )
{
@ -42,10 +42,10 @@ namespace Server.Items
[FlippableAddon( Direction.South, Direction.East )]
public class BoneCouchAddon : BaseAddon
{
public override BaseAddonDeed Deed { get { return new BoneCouchDeed(); } }
public override BaseAddonDeed Deed => new BoneCouchDeed();
[Constructible]
public BoneCouchAddon() : base()
public BoneCouchAddon()
{
Direction = Direction.South;
@ -89,11 +89,11 @@ namespace Server.Items
public class BoneCouchDeed : BaseAddonDeed
{
public override BaseAddon Addon { get { return new BoneCouchAddon(); } }
public override int LabelNumber { get { return 1074477; } } // Bone couch
public override BaseAddon Addon => new BoneCouchAddon();
public override int LabelNumber => 1074477; // Bone couch
[Constructible]
public BoneCouchDeed() : base()
public BoneCouchDeed()
{
LootType = LootType.Blessed;
}