Table of Contents

Class WeaponDesignElement

Namespace
TaleWorlds.Core
Assembly
TaleWorlds.Core.dll
public class WeaponDesignElement
Inheritance
WeaponDesignElement
Inherited Members

Properties

CraftingPiece

public CraftingPiece CraftingPiece { get; }

Property Value

CraftingPiece

IsPieceScaled

public bool IsPieceScaled { get; }

Property Value

bool

IsValid

public bool IsValid { get; }

Property Value

bool

ScaleFactor

public float ScaleFactor { get; }

Property Value

float

ScalePercentage

public int ScalePercentage { get; }

Property Value

int

ScaledBladeLength

public float ScaledBladeLength { get; }

Property Value

float

ScaledCenterOfMass

public float ScaledCenterOfMass { get; }

Property Value

float

ScaledDistanceToNextPiece

public float ScaledDistanceToNextPiece { get; }

Property Value

float

ScaledDistanceToPreviousPiece

public float ScaledDistanceToPreviousPiece { get; }

Property Value

float

ScaledLength

public float ScaledLength { get; }

Property Value

float

ScaledNextPieceOffset

public float ScaledNextPieceOffset { get; }

Property Value

float

ScaledPieceOffset

public float ScaledPieceOffset { get; }

Property Value

float

ScaledPreviousPieceOffset

public float ScaledPreviousPieceOffset { get; }

Property Value

float

ScaledWeight

public float ScaledWeight { get; }

Property Value

float

Methods

AutoGeneratedInstanceCollectObjects(List<object>)

protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)

Parameters

collectedObjects List<object>

CreateUsablePiece(CraftingPiece, int)

public static WeaponDesignElement CreateUsablePiece(CraftingPiece craftingPiece, int scalePercentage = 100)

Parameters

craftingPiece CraftingPiece
scalePercentage int

Returns

WeaponDesignElement

GetCopy()

public WeaponDesignElement GetCopy()

Returns

WeaponDesignElement

GetInvalidPieceForType(PieceTypes)

public static WeaponDesignElement GetInvalidPieceForType(CraftingPiece.PieceTypes pieceType)

Parameters

pieceType CraftingPiece.PieceTypes

Returns

WeaponDesignElement

SetScale(int)

public void SetScale(int scalePercentage)

Parameters

scalePercentage int

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