Changes properties to use automatic property initializers
This commit is contained in:
parent
f0a48ad431
commit
06fa31a7bf
623 changed files with 13072 additions and 19304 deletions
|
|
@ -6,16 +6,14 @@ namespace Server.Factions
|
|||
{
|
||||
public class FactionItemDefinition
|
||||
{
|
||||
private int m_SilverCost;
|
||||
private Type m_VendorType;
|
||||
public int SilverCost { get; }
|
||||
|
||||
public int SilverCost => m_SilverCost;
|
||||
public Type VendorType => m_VendorType;
|
||||
public Type VendorType { get; }
|
||||
|
||||
public FactionItemDefinition( int silverCost, Type vendorType )
|
||||
{
|
||||
m_SilverCost = silverCost;
|
||||
m_VendorType = vendorType;
|
||||
SilverCost = silverCost;
|
||||
VendorType = vendorType;
|
||||
}
|
||||
|
||||
private static FactionItemDefinition m_MetalArmor = new FactionItemDefinition( 1000, typeof( Blacksmith ) );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue