Class ItemCategory
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public sealed class ItemCategory : MBObjectBase
- Inheritance
-
ItemCategory
- Inherited Members
Constructors
ItemCategory()
public ItemCategory()
ItemCategory(string)
public ItemCategory(string stringId)
Parameters
stringId
string
Properties
BaseDemand
public float BaseDemand { get; }
Property Value
CanSubstitute
public ItemCategory CanSubstitute { get; }
Property Value
IsAnimal
public bool IsAnimal { get; }
Property Value
IsTradeGood
public bool IsTradeGood { get; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
LuxuryDemand
public float LuxuryDemand { get; }
Property Value
Properties
public ItemCategory.Property Properties { get; }
Property Value
SubstitutionFactor
public float SubstitutionFactor { get; }
Property Value
Methods
AutoGeneratedInstanceCollectObjects(List<object>)
protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
GetName()
public override TextObject GetName()
Returns
InitializeObject(bool, int, int, Property, ItemCategory, float, bool, bool)
public ItemCategory InitializeObject(bool isTradeGood = false, int baseDemand = 0, int luxuryDemand = 0, ItemCategory.Property properties = Property.None, ItemCategory canSubstitute = null, float substitutionFactor = 0, bool isAnimal = false, bool isValid = true)
Parameters
isTradeGood
boolbaseDemand
intluxuryDemand
intproperties
ItemCategory.PropertycanSubstitute
ItemCategorysubstitutionFactor
floatisAnimal
boolisValid
bool
Returns
ToString()
public override string ToString()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).