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

@ -29,8 +29,8 @@ namespace Server
private static Serial m_LastMobile = Zero;
private static Serial m_LastItem = 0x40000000;
public static Serial LastMobile { get { return m_LastMobile; } }
public static Serial LastItem { get { return m_LastItem; } }
public static Serial LastMobile => m_LastMobile;
public static Serial LastItem => m_LastItem;
public static readonly Serial MinusOne = new Serial( -1 );
public static readonly Serial Zero = new Serial( 0 );
@ -60,37 +60,13 @@ namespace Server
m_Serial = serial;
}
public int Value
{
get
{
return m_Serial;
}
}
public int Value => m_Serial;
public bool IsMobile
{
get
{
return ( m_Serial > 0 && m_Serial < 0x40000000 );
}
}
public bool IsMobile => ( m_Serial > 0 && m_Serial < 0x40000000 );
public bool IsItem
{
get
{
return ( m_Serial >= 0x40000000 && m_Serial <= 0x7FFFFFFF );
}
}
public bool IsItem => ( m_Serial >= 0x40000000 && m_Serial <= 0x7FFFFFFF );
public bool IsValid
{
get
{
return ( m_Serial > 0 );
}
}
public bool IsValid => ( m_Serial > 0 );
public override int GetHashCode()
{