77 lines
1.7 KiB
C#
77 lines
1.7 KiB
C#
using System;
|
|
|
|
namespace Server.Factions
|
|
{
|
|
public class GuardDefinition
|
|
{
|
|
private readonly Type m_Type;
|
|
private readonly int m_Price;
|
|
private readonly int m_Upkeep;
|
|
private readonly int m_Maximum;
|
|
private readonly int m_ItemID;
|
|
private readonly TextDefinition m_Header;
|
|
private readonly TextDefinition m_Label;
|
|
public GuardDefinition(Type type, int itemID, int price, int upkeep, int maximum, TextDefinition header, TextDefinition label)
|
|
{
|
|
this.m_Type = type;
|
|
|
|
this.m_Price = price;
|
|
this.m_Upkeep = upkeep;
|
|
this.m_Maximum = maximum;
|
|
this.m_ItemID = itemID;
|
|
|
|
this.m_Header = header;
|
|
this.m_Label = label;
|
|
}
|
|
|
|
public Type Type
|
|
{
|
|
get
|
|
{
|
|
return this.m_Type;
|
|
}
|
|
}
|
|
public int Price
|
|
{
|
|
get
|
|
{
|
|
return this.m_Price;
|
|
}
|
|
}
|
|
public int Upkeep
|
|
{
|
|
get
|
|
{
|
|
return this.m_Upkeep;
|
|
}
|
|
}
|
|
public int Maximum
|
|
{
|
|
get
|
|
{
|
|
return this.m_Maximum;
|
|
}
|
|
}
|
|
public int ItemID
|
|
{
|
|
get
|
|
{
|
|
return this.m_ItemID;
|
|
}
|
|
}
|
|
public TextDefinition Header
|
|
{
|
|
get
|
|
{
|
|
return this.m_Header;
|
|
}
|
|
}
|
|
public TextDefinition Label
|
|
{
|
|
get
|
|
{
|
|
return this.m_Label;
|
|
}
|
|
}
|
|
}
|
|
} |