M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Core.WeaponDesignElement Class Reference

Public Member Functions

void SetScale (int scalePercentage)
 
WeaponDesignElement GetCopy ()
 

Static Public Member Functions

static WeaponDesignElement GetInvalidPieceForType (CraftingPiece.PieceTypes pieceType)
 
static WeaponDesignElement CreateUsablePiece (CraftingPiece craftingPiece, int scalePercentage=100)
 

Public Attributes

int ScalePercentage
 

Properties

float ScaleFactor [get]
 
bool IsPieceScaled [get]
 
CraftingPiece CraftingPiece [get]
 
bool IsValid [get]
 
float ScaledLength [get]
 
float ScaledWeight [get]
 
float ScaledCenterOfMass [get]
 
float ScaledDistanceToNextPiece [get]
 
float ScaledDistanceToPreviousPiece [get]
 
float ScaledBladeLength [get]
 
float ScaledPieceOffset [get]
 
float ScaledPreviousPieceOffset [get]
 
float ScaledNextPieceOffset [get]
 

Member Function Documentation

◆ SetScale()

void TaleWorlds.Core.WeaponDesignElement.SetScale ( int  scalePercentage)

◆ GetCopy()

WeaponDesignElement TaleWorlds.Core.WeaponDesignElement.GetCopy ( )

◆ GetInvalidPieceForType()

static WeaponDesignElement TaleWorlds.Core.WeaponDesignElement.GetInvalidPieceForType ( CraftingPiece.PieceTypes  pieceType)
static

◆ CreateUsablePiece()

static WeaponDesignElement TaleWorlds.Core.WeaponDesignElement.CreateUsablePiece ( CraftingPiece  craftingPiece,
int  scalePercentage = 100 
)
static

Member Data Documentation

◆ ScalePercentage

int TaleWorlds.Core.WeaponDesignElement.ScalePercentage

Property Documentation

◆ ScaleFactor

float TaleWorlds.Core.WeaponDesignElement.ScaleFactor
get

◆ IsPieceScaled

bool TaleWorlds.Core.WeaponDesignElement.IsPieceScaled
get

◆ CraftingPiece

CraftingPiece TaleWorlds.Core.WeaponDesignElement.CraftingPiece
get

◆ IsValid

bool TaleWorlds.Core.WeaponDesignElement.IsValid
get

◆ ScaledLength

float TaleWorlds.Core.WeaponDesignElement.ScaledLength
get

◆ ScaledWeight

float TaleWorlds.Core.WeaponDesignElement.ScaledWeight
get

◆ ScaledCenterOfMass

float TaleWorlds.Core.WeaponDesignElement.ScaledCenterOfMass
get

◆ ScaledDistanceToNextPiece

float TaleWorlds.Core.WeaponDesignElement.ScaledDistanceToNextPiece
get

◆ ScaledDistanceToPreviousPiece

float TaleWorlds.Core.WeaponDesignElement.ScaledDistanceToPreviousPiece
get

◆ ScaledBladeLength

float TaleWorlds.Core.WeaponDesignElement.ScaledBladeLength
get

◆ ScaledPieceOffset

float TaleWorlds.Core.WeaponDesignElement.ScaledPieceOffset
get

◆ ScaledPreviousPieceOffset

float TaleWorlds.Core.WeaponDesignElement.ScaledPreviousPieceOffset
get

◆ ScaledNextPieceOffset

float TaleWorlds.Core.WeaponDesignElement.ScaledNextPieceOffset
get