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

@ -12,7 +12,7 @@ namespace Server.Items
[CommandProperty( AccessLevel.GameMaster )]
public int MaxElevation
{
get{ return m_MaxElevation; }
get => m_MaxElevation;
set
{
if ( value <= 0 )
@ -25,13 +25,19 @@ namespace Server.Items
}
[CommandProperty( AccessLevel.GameMaster )]
public int MoveSound{ get{ return m_MoveSound; } set{ m_MoveSound = value; } }
public int MoveSound{ get => m_MoveSound;
set => m_MoveSound = value;
}
[CommandProperty( AccessLevel.GameMaster )]
public int StopSound{ get{ return m_StopSound; } set{ m_StopSound = value; } }
public int StopSound{ get => m_StopSound;
set => m_StopSound = value;
}
[CommandProperty( AccessLevel.GameMaster )]
public TimeSpan CloseDelay{ get{ return m_CloseDelay; } set{ m_CloseDelay = value; } }
public TimeSpan CloseDelay{ get => m_CloseDelay;
set => m_CloseDelay = value;
}
[Constructible]
public RaisableItem( int itemID ) : this( itemID, 20, -1, -1, TimeSpan.FromMinutes( 1.0 ) )
@ -57,10 +63,7 @@ namespace Server.Items
private int m_Elevation;
private RaiseTimer m_RaiseTimer;
public bool IsRaisable
{
get{ return m_RaiseTimer == null; }
}
public bool IsRaisable => m_RaiseTimer == null;
public void Raise()
{