Fixes body expression style.

This commit is contained in:
Kamron Batman 2018-09-14 08:46:14 -07:00
parent 3f0a72a62f
commit 33f5e77a24
957 changed files with 7424 additions and 15973 deletions

View file

@ -37,19 +37,27 @@ namespace Server.Multis
private FoundationType m_Type; // Graphic type of this foundation.
private Mobile m_Customizer; // Who is currently customizing this -or- null if not customizing.
public FoundationType Type { get { return m_Type; } set { m_Type = value; } }
public int LastRevision { get { return m_LastRevision; } set { m_LastRevision = value; } }
public FoundationType Type { get => m_Type;
set => m_Type = value;
}
public int LastRevision { get => m_LastRevision;
set => m_LastRevision = value;
}
public List<Item> Fixtures => m_Fixtures;
public Item SignHanger => m_SignHanger;
public Item Signpost => m_Signpost;
public int SignpostGraphic { get { return m_SignpostGraphic; } set { m_SignpostGraphic = value; } }
public Mobile Customizer { get { return m_Customizer; } set { m_Customizer = value; } }
public int SignpostGraphic { get => m_SignpostGraphic;
set => m_SignpostGraphic = value;
}
public Mobile Customizer { get => m_Customizer;
set => m_Customizer = value;
}
public override bool IsAosRules => true;
public override bool IsActive => Customizer == null;
public virtual int CustomizationCost { get { return (Core.AOS ? 0 : 10000); } }
public virtual int CustomizationCost => (Core.AOS ? 0 : 10000);
public bool IsFixture( Item item )
{
@ -89,19 +97,19 @@ namespace Server.Multis
public DesignState CurrentState
{
get { if ( m_Current == null ) SetInitialState(); return m_Current; }
set { m_Current = value; }
set => m_Current = value;
}
public DesignState DesignState
{
get { if ( m_Design == null ) SetInitialState(); return m_Design; }
set { m_Design = value; }
set => m_Design = value;
}
public DesignState BackupState
{
get { if ( m_Backup == null ) SetInitialState(); return m_Backup; }
set { m_Backup = value; }
set => m_Backup = value;
}
public void SetInitialState()
@ -1685,7 +1693,7 @@ namespace Server.Multis
public Packet PacketCache
{
get { return m_PacketCache; }
get => m_PacketCache;
set
{
if ( m_PacketCache == value )
@ -1701,7 +1709,9 @@ namespace Server.Multis
public HouseFoundation Foundation => m_Foundation;
public MultiComponentList Components => m_Components;
public MultiTileEntry[] Fixtures => m_Fixtures;
public int Revision { get { return m_Revision; } set { m_Revision = value; } }
public int Revision { get => m_Revision;
set => m_Revision = value;
}
public DesignState( HouseFoundation foundation, MultiComponentList components )
{
@ -1980,7 +1990,9 @@ namespace Server.Multis
private int m_Level;
public HouseFoundation Foundation => m_Foundation;
public int Level { get { return m_Level; } set { m_Level = value; } }
public int Level { get => m_Level;
set => m_Level = value;
}
public int MaxLevels => m_Foundation.MaxLevels;
public DesignContext( HouseFoundation foundation )