Class CraftingTemplate
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public class CraftingTemplate : MBObjectBase
- Inheritance
-
CraftingTemplate
- Inherited Members
Constructors
CraftingTemplate()
public CraftingTemplate()
Fields
TemplateName
public TextObject TemplateName
Field Value
Properties
All
public static MBReadOnlyList<CraftingTemplate> All { get; }
Property Value
AlwaysShowHolsterWithWeapon
public bool AlwaysShowHolsterWithWeapon { get; }
Property Value
BuildOrders
public PieceData[] BuildOrders { get; }
Property Value
ItemHolsterPositionShift
public Vec3 ItemHolsterPositionShift { get; }
Property Value
ItemHolsters
public string[] ItemHolsters { get; }
Property Value
- string[]
ItemModifierGroup
public ItemModifierGroup ItemModifierGroup { get; }
Property Value
ItemType
public ItemObject.ItemTypeEnum ItemType { get; }
Property Value
PieceTypeToScaleHolsterWith
public CraftingPiece.PieceTypes PieceTypeToScaleHolsterWith { get; }
Property Value
Pieces
public List<CraftingPiece> Pieces { get; }
Property Value
RotateWeaponInHolster
public bool RotateWeaponInHolster { get; }
Property Value
UseWeaponAsHolsterMesh
public bool UseWeaponAsHolsterMesh { get; }
Property Value
WeaponDescriptions
public WeaponDescription[] WeaponDescriptions { get; }
Property Value
Methods
AutoGeneratedInstanceCollectObjects(List<object>)
protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
Deserialize(MBObjectManager, XmlNode)
public override void Deserialize(MBObjectManager objectManager, XmlNode node)
Parameters
objectManager
MBObjectManagernode
XmlNode
GetIndexOfUsageDataWithId(string)
public int GetIndexOfUsageDataWithId(string weaponDescriptionId)
Parameters
weaponDescriptionId
string
Returns
GetStatDatas(int, DamageTypes, DamageTypes)
public IEnumerable<KeyValuePair<CraftingTemplate.CraftingStatTypes, float>> GetStatDatas(int usageIndex, DamageTypes thrustDamageType, DamageTypes swingDamageType)
Parameters
usageIndex
intthrustDamageType
DamageTypesswingDamageType
DamageTypes
Returns
GetTemplateFromId(string)
public static CraftingTemplate GetTemplateFromId(string templateId)
Parameters
templateId
string
Returns
IsPieceTypeHiddenOnHolster(PieceTypes)
public bool IsPieceTypeHiddenOnHolster(CraftingPiece.PieceTypes pieceType)
Parameters
pieceType
CraftingPiece.PieceTypes
Returns
IsPieceTypeUsable(PieceTypes)
public bool IsPieceTypeUsable(CraftingPiece.PieceTypes pieceType)
Parameters
pieceType
CraftingPiece.PieceTypes
Returns
ToString()
public override string ToString()
Returns
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).