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
|
|
@ -4,17 +4,15 @@ namespace Server.Mobiles
|
|||
{
|
||||
public class AnimalBuyInfo : GenericBuyInfo
|
||||
{
|
||||
private int m_ControlSlots;
|
||||
|
||||
public AnimalBuyInfo( int controlSlots, Type type, int price, int amount, int itemID, int hue ) : this( controlSlots, null, type, price, amount, itemID, hue )
|
||||
{
|
||||
}
|
||||
|
||||
public AnimalBuyInfo( int controlSlots, string name, Type type, int price, int amount, int itemID, int hue ) : base( name, type, price, amount, itemID, hue )
|
||||
{
|
||||
m_ControlSlots = controlSlots;
|
||||
ControlSlots = controlSlots;
|
||||
}
|
||||
|
||||
public override int ControlSlots => m_ControlSlots;
|
||||
public override int ControlSlots { get; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue