Table of Contents

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

TextObject

Properties

All

public static MBReadOnlyList<CraftingTemplate> All { get; }

Property Value

MBReadOnlyList<CraftingTemplate>

AlwaysShowHolsterWithWeapon

public bool AlwaysShowHolsterWithWeapon { get; }

Property Value

bool

BuildOrders

public PieceData[] BuildOrders { get; }

Property Value

PieceData[]

ItemHolsterPositionShift

public Vec3 ItemHolsterPositionShift { get; }

Property Value

Vec3

ItemHolsters

public string[] ItemHolsters { get; }

Property Value

string[]

ItemModifierGroup

public ItemModifierGroup ItemModifierGroup { get; }

Property Value

ItemModifierGroup

ItemType

public ItemObject.ItemTypeEnum ItemType { get; }

Property Value

ItemObject.ItemTypeEnum

PieceTypeToScaleHolsterWith

public CraftingPiece.PieceTypes PieceTypeToScaleHolsterWith { get; }

Property Value

CraftingPiece.PieceTypes

Pieces

public List<CraftingPiece> Pieces { get; }

Property Value

List<CraftingPiece>

RotateWeaponInHolster

public bool RotateWeaponInHolster { get; }

Property Value

bool

UseWeaponAsHolsterMesh

public bool UseWeaponAsHolsterMesh { get; }

Property Value

bool

WeaponDescriptions

public WeaponDescription[] WeaponDescriptions { get; }

Property Value

WeaponDescription[]

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected override void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

Deserialize(MBObjectManager, XmlNode)

public override void Deserialize(MBObjectManager objectManager, XmlNode node)

Parameters

objectManager MBObjectManager
node XmlNode

GetIndexOfUsageDataWithId(string)

public int GetIndexOfUsageDataWithId(string weaponDescriptionId)

Parameters

weaponDescriptionId string

Returns

int

GetStatDatas(int, DamageTypes, DamageTypes)

public IEnumerable<KeyValuePair<CraftingTemplate.CraftingStatTypes, float>> GetStatDatas(int usageIndex, DamageTypes thrustDamageType, DamageTypes swingDamageType)

Parameters

usageIndex int
thrustDamageType DamageTypes
swingDamageType DamageTypes

Returns

IEnumerable<KeyValuePair<CraftingTemplate.CraftingStatTypes, float>>

GetTemplateFromId(string)

public static CraftingTemplate GetTemplateFromId(string templateId)

Parameters

templateId string

Returns

CraftingTemplate

IsPieceTypeHiddenOnHolster(PieceTypes)

public bool IsPieceTypeHiddenOnHolster(CraftingPiece.PieceTypes pieceType)

Parameters

pieceType CraftingPiece.PieceTypes

Returns

bool

IsPieceTypeUsable(PieceTypes)

public bool IsPieceTypeUsable(CraftingPiece.PieceTypes pieceType)

Parameters

pieceType CraftingPiece.PieceTypes

Returns

bool

ToString()

public override string ToString()

Returns

string

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).