Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -37,14 +37,14 @@ namespace Server
|
|||
|
||||
public string Name
|
||||
{
|
||||
get{ return m_Name; }
|
||||
set{ m_Name = value; }
|
||||
get => m_Name;
|
||||
set => m_Name = value;
|
||||
}
|
||||
|
||||
public TileFlag Flags
|
||||
{
|
||||
get{ return m_Flags; }
|
||||
set{ m_Flags = value; }
|
||||
get => m_Flags;
|
||||
set => m_Flags = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -71,19 +71,19 @@ namespace Server
|
|||
|
||||
public string Name
|
||||
{
|
||||
get{ return m_Name; }
|
||||
set{ m_Name = value; }
|
||||
get => m_Name;
|
||||
set => m_Name = value;
|
||||
}
|
||||
|
||||
public TileFlag Flags
|
||||
{
|
||||
get{ return m_Flags; }
|
||||
set{ m_Flags = value; }
|
||||
get => m_Flags;
|
||||
set => m_Flags = value;
|
||||
}
|
||||
|
||||
public bool Bridge
|
||||
{
|
||||
get{ return (m_Flags & TileFlag.Bridge) != 0; }
|
||||
get => (m_Flags & TileFlag.Bridge) != 0;
|
||||
set
|
||||
{
|
||||
if ( value )
|
||||
|
|
@ -95,7 +95,7 @@ namespace Server
|
|||
|
||||
public bool Impassable
|
||||
{
|
||||
get{ return (m_Flags & TileFlag.Impassable) != 0; }
|
||||
get => (m_Flags & TileFlag.Impassable) != 0;
|
||||
set
|
||||
{
|
||||
if ( value )
|
||||
|
|
@ -107,7 +107,7 @@ namespace Server
|
|||
|
||||
public bool Surface
|
||||
{
|
||||
get{ return (m_Flags & TileFlag.Surface) != 0; }
|
||||
get => (m_Flags & TileFlag.Surface) != 0;
|
||||
set
|
||||
{
|
||||
if ( value )
|
||||
|
|
@ -119,32 +119,32 @@ namespace Server
|
|||
|
||||
public int Weight
|
||||
{
|
||||
get{ return m_Weight; }
|
||||
set{ m_Weight = (byte)value; }
|
||||
get => m_Weight;
|
||||
set => m_Weight = (byte)value;
|
||||
}
|
||||
|
||||
public int Quality
|
||||
{
|
||||
get{ return m_Quality; }
|
||||
set{ m_Quality = (byte)value; }
|
||||
get => m_Quality;
|
||||
set => m_Quality = (byte)value;
|
||||
}
|
||||
|
||||
public int Quantity
|
||||
{
|
||||
get{ return m_Quantity; }
|
||||
set{ m_Quantity = (byte)value; }
|
||||
get => m_Quantity;
|
||||
set => m_Quantity = (byte)value;
|
||||
}
|
||||
|
||||
public int Value
|
||||
{
|
||||
get{ return m_Value; }
|
||||
set{ m_Value = (byte)value; }
|
||||
get => m_Value;
|
||||
set => m_Value = (byte)value;
|
||||
}
|
||||
|
||||
public int Height
|
||||
{
|
||||
get{ return m_Height; }
|
||||
set{ m_Height = (byte)value; }
|
||||
get => m_Height;
|
||||
set => m_Height = (byte)value;
|
||||
}
|
||||
|
||||
public int CalcHeight
|
||||
|
|
@ -202,21 +202,9 @@ namespace Server
|
|||
private static LandData[] m_LandData;
|
||||
private static ItemData[] m_ItemData;
|
||||
|
||||
public static LandData[] LandTable
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_LandData;
|
||||
}
|
||||
}
|
||||
public static LandData[] LandTable => m_LandData;
|
||||
|
||||
public static ItemData[] ItemTable
|
||||
{
|
||||
get
|
||||
{
|
||||
return m_ItemData;
|
||||
}
|
||||
}
|
||||
public static ItemData[] ItemTable => m_ItemData;
|
||||
|
||||
private static int m_MaxLandValue;
|
||||
private static int m_MaxItemValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue