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,10 +6,10 @@ namespace Server.Items
{
public class PlagueBeastBackpack : BaseContainer
{
public override int DefaultMaxWeight { get { return 0; } }
public override int DefaultMaxItems { get { return 0; } }
public override int DefaultGumpID { get { return 0x2A63; } }
public override int DefaultDropSound { get { return 0x23F; } }
public override int DefaultMaxWeight => 0;
public override int DefaultMaxItems => 0;
public override int DefaultGumpID => 0x2A63;
public override int DefaultDropSound => 0x23F;
private static int[,,] m_Positions = new int[,,]
{

View file

@ -7,7 +7,7 @@ namespace Server.Items
{
public class PlagueBeastOrgan : PlagueBeastInnard
{
public virtual bool IsCuttable { get { return false; } }
public virtual bool IsCuttable => false;
private List<PlagueBeastComponent> m_Components;
@ -246,7 +246,7 @@ namespace Server.Items
{
private int m_Veins;
public PlagueBeastRubbleOrgan() : base()
public PlagueBeastRubbleOrgan()
{
m_Veins = 3;
}
@ -474,7 +474,7 @@ namespace Server.Items
get { return m_Brains >= 4; }
}
public PlagueBeastMainOrgan() : base()
public PlagueBeastMainOrgan()
{
m_Brains = 0;
}