Fixes body expression style.
This commit is contained in:
parent
3f0a72a62f
commit
33f5e77a24
957 changed files with 7424 additions and 15973 deletions
|
|
@ -7,10 +7,7 @@ namespace Server.Engines.BulkOrders
|
|||
private int m_Material;
|
||||
private int m_Quantity;
|
||||
|
||||
public bool IsDefault
|
||||
{
|
||||
get{ return ( m_Type == 0 && m_Quality == 0 && m_Material == 0 && m_Quantity == 0 ); }
|
||||
}
|
||||
public bool IsDefault => ( m_Type == 0 && m_Quality == 0 && m_Material == 0 && m_Quantity == 0 );
|
||||
|
||||
public void Clear()
|
||||
{
|
||||
|
|
@ -22,26 +19,26 @@ namespace Server.Engines.BulkOrders
|
|||
|
||||
public int Type
|
||||
{
|
||||
get{ return m_Type; }
|
||||
set{ m_Type = value; }
|
||||
get => m_Type;
|
||||
set => m_Type = value;
|
||||
}
|
||||
|
||||
public int Quality
|
||||
{
|
||||
get{ return m_Quality; }
|
||||
set{ m_Quality = value; }
|
||||
get => m_Quality;
|
||||
set => m_Quality = value;
|
||||
}
|
||||
|
||||
public int Material
|
||||
{
|
||||
get{ return m_Material; }
|
||||
set{ m_Material = value; }
|
||||
get => m_Material;
|
||||
set => m_Material = value;
|
||||
}
|
||||
|
||||
public int Quantity
|
||||
{
|
||||
get{ return m_Quantity; }
|
||||
set{ m_Quantity = value; }
|
||||
get => m_Quantity;
|
||||
set => m_Quantity = value;
|
||||
}
|
||||
|
||||
public BOBFilter()
|
||||
|
|
|
|||
|
|
@ -9,12 +9,14 @@ namespace Server.Engines.BulkOrders
|
|||
private int m_Price;
|
||||
private BOBLargeSubEntry[] m_Entries;
|
||||
|
||||
public bool RequireExceptional{ get{ return m_RequireExceptional; } }
|
||||
public BODType DeedType{ get{ return m_DeedType; } }
|
||||
public BulkMaterialType Material{ get{ return m_Material; } }
|
||||
public int AmountMax{ get{ return m_AmountMax; } }
|
||||
public int Price{ get{ return m_Price; } set{ m_Price = value; } }
|
||||
public BOBLargeSubEntry[] Entries{ get{ return m_Entries; } }
|
||||
public bool RequireExceptional => m_RequireExceptional;
|
||||
public BODType DeedType => m_DeedType;
|
||||
public BulkMaterialType Material => m_Material;
|
||||
public int AmountMax => m_AmountMax;
|
||||
public int Price{ get => m_Price;
|
||||
set => m_Price = value;
|
||||
}
|
||||
public BOBLargeSubEntry[] Entries => m_Entries;
|
||||
|
||||
public Item Reconstruct()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -9,10 +9,10 @@ namespace Server.Engines.BulkOrders
|
|||
private int m_Number;
|
||||
private int m_Graphic;
|
||||
|
||||
public Type ItemType{ get{ return m_ItemType; } }
|
||||
public int AmountCur{ get{ return m_AmountCur; } }
|
||||
public int Number{ get{ return m_Number; } }
|
||||
public int Graphic{ get{ return m_Graphic; } }
|
||||
public Type ItemType => m_ItemType;
|
||||
public int AmountCur => m_AmountCur;
|
||||
public int Number => m_Number;
|
||||
public int Graphic => m_Graphic;
|
||||
|
||||
public BOBLargeSubEntry( LargeBulkEntry lbe )
|
||||
{
|
||||
|
|
|
|||
|
|
@ -13,15 +13,17 @@ namespace Server.Engines.BulkOrders
|
|||
private int m_Graphic;
|
||||
private int m_Price;
|
||||
|
||||
public Type ItemType{ get{ return m_ItemType; } }
|
||||
public bool RequireExceptional{ get{ return m_RequireExceptional; } }
|
||||
public BODType DeedType{ get{ return m_DeedType; } }
|
||||
public BulkMaterialType Material{ get{ return m_Material; } }
|
||||
public int AmountCur{ get{ return m_AmountCur; } }
|
||||
public int AmountMax{ get{ return m_AmountMax; } }
|
||||
public int Number{ get{ return m_Number; } }
|
||||
public int Graphic{ get{ return m_Graphic; } }
|
||||
public int Price{ get{ return m_Price; } set{ m_Price = value; } }
|
||||
public Type ItemType => m_ItemType;
|
||||
public bool RequireExceptional => m_RequireExceptional;
|
||||
public BODType DeedType => m_DeedType;
|
||||
public BulkMaterialType Material => m_Material;
|
||||
public int AmountCur => m_AmountCur;
|
||||
public int AmountMax => m_AmountMax;
|
||||
public int Number => m_Number;
|
||||
public int Graphic => m_Graphic;
|
||||
public int Price{ get => m_Price;
|
||||
set => m_Price = value;
|
||||
}
|
||||
|
||||
public Item Reconstruct()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -21,31 +21,25 @@ namespace Server.Engines.BulkOrders
|
|||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public string BookName
|
||||
{
|
||||
get{ return m_BookName; }
|
||||
get => m_BookName;
|
||||
set{ m_BookName = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public SecureLevel Level
|
||||
{
|
||||
get{ return m_Level; }
|
||||
set{ m_Level = value; }
|
||||
get => m_Level;
|
||||
set => m_Level = value;
|
||||
}
|
||||
|
||||
public ArrayList Entries
|
||||
{
|
||||
get{ return m_Entries; }
|
||||
}
|
||||
public ArrayList Entries => m_Entries;
|
||||
|
||||
public BOBFilter Filter
|
||||
{
|
||||
get{ return m_Filter; }
|
||||
}
|
||||
public BOBFilter Filter => m_Filter;
|
||||
|
||||
public int ItemCount
|
||||
{
|
||||
get{ return m_ItemCount; }
|
||||
set{ m_ItemCount = value; }
|
||||
get => m_ItemCount;
|
||||
set => m_ItemCount = value;
|
||||
}
|
||||
|
||||
[Constructible]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue