Class WeaponDesignElement
- Namespace
- TaleWorlds.Core
- Assembly
- TaleWorlds.Core.dll
public class WeaponDesignElement
- Inheritance
-
WeaponDesignElement
- Inherited Members
Properties
CraftingPiece
public CraftingPiece CraftingPiece { get; }
Property Value
IsPieceScaled
public bool IsPieceScaled { get; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
ScaleFactor
public float ScaleFactor { get; }
Property Value
ScalePercentage
public int ScalePercentage { get; }
Property Value
ScaledBladeLength
public float ScaledBladeLength { get; }
Property Value
ScaledCenterOfMass
public float ScaledCenterOfMass { get; }
Property Value
ScaledDistanceToNextPiece
public float ScaledDistanceToNextPiece { get; }
Property Value
ScaledDistanceToPreviousPiece
public float ScaledDistanceToPreviousPiece { get; }
Property Value
ScaledLength
public float ScaledLength { get; }
Property Value
ScaledNextPieceOffset
public float ScaledNextPieceOffset { get; }
Property Value
ScaledPieceOffset
public float ScaledPieceOffset { get; }
Property Value
ScaledPreviousPieceOffset
public float ScaledPreviousPieceOffset { get; }
Property Value
ScaledWeight
public float ScaledWeight { get; }
Property Value
Methods
AutoGeneratedInstanceCollectObjects(List<object>)
protected virtual void AutoGeneratedInstanceCollectObjects(List<object> collectedObjects)
Parameters
CreateUsablePiece(CraftingPiece, int)
public static WeaponDesignElement CreateUsablePiece(CraftingPiece craftingPiece, int scalePercentage = 100)
Parameters
craftingPiece
CraftingPiecescalePercentage
int
Returns
GetCopy()
public WeaponDesignElement GetCopy()
Returns
GetInvalidPieceForType(PieceTypes)
public static WeaponDesignElement GetInvalidPieceForType(CraftingPiece.PieceTypes pieceType)
Parameters
pieceType
CraftingPiece.PieceTypes
Returns
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).