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

@ -10,8 +10,8 @@ namespace Server.Items
{
public class RedVelvetGiftBox : BaseContainer
{
public override int DefaultGumpID { get { return 0x3f; } }
public override int LabelNumber { get { return 1077596; } } // A Red Velvet Box
public override int DefaultGumpID => 0x3f;
public override int LabelNumber => 1077596; // A Red Velvet Box
[Constructible]
public RedVelvetGiftBox()
@ -62,4 +62,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -5,7 +5,7 @@ namespace Server.Items
{
public class RoseInAVase : Item /* TODO: when dye tub changes are implemented, furny dyable this */
{
public override int LabelNumber { get { return 1023760; } } // A Rose in a Vase 1023760
public override int LabelNumber => 1023760; // A Rose in a Vase 1023760
[Constructible]
public RoseInAVase( )
@ -34,4 +34,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}

View file

@ -6,7 +6,7 @@ namespace Server.Items
{
public class ValentinesCard : Item
{
public override string DefaultName { get { return "a Valentine's card"; } }
public override string DefaultName => "a Valentine's card";
[CommandProperty(AccessLevel.GameMaster)]
public virtual string From { get { return m_From; } set { m_From = value; } }
@ -187,4 +187,4 @@ namespace Server.Items
int version = reader.ReadInt();
}
}
}
}