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

Public Member Functions

 WeaponDesign (CraftingTemplate template, TextObject weaponName, WeaponDesignElement[] usedPieces)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (WeaponDesign x, WeaponDesign y)
 
static bool operator!= (WeaponDesign x, WeaponDesign y)
 

Public Attributes

readonly WeaponFlags WeaponFlags
 
readonly float CraftedWeaponLength
 
readonly CraftingTemplate Template
 
List< float > TopPivotOffsets
 
List< float > BottomPivotOffsets
 
readonly Vec3 HolsterShiftAmount
 

Properties

TextObject WeaponName [get]
 
WeaponDesignElement[] UsedPieces [get]
 
string HashedCode [get]
 
float[] PiecePivotDistances [get]
 
float TotalLength [get]
 
float HandToBottomLength [get]
 
float BottomPivotOffset [get]
 

Constructor & Destructor Documentation

◆ WeaponDesign()

TaleWorlds.Core.WeaponDesign.WeaponDesign ( CraftingTemplate  template,
TextObject  weaponName,
WeaponDesignElement[]  usedPieces 
)

Member Function Documentation

◆ Equals()

override bool TaleWorlds.Core.WeaponDesign.Equals ( object  obj)

◆ GetHashCode()

override int TaleWorlds.Core.WeaponDesign.GetHashCode ( )

◆ operator==()

static bool TaleWorlds.Core.WeaponDesign.operator== ( WeaponDesign  x,
WeaponDesign  y 
)
static

◆ operator!=()

static bool TaleWorlds.Core.WeaponDesign.operator!= ( WeaponDesign  x,
WeaponDesign  y 
)
static

Member Data Documentation

◆ WeaponFlags

readonly WeaponFlags TaleWorlds.Core.WeaponDesign.WeaponFlags

◆ CraftedWeaponLength

readonly float TaleWorlds.Core.WeaponDesign.CraftedWeaponLength

◆ Template

readonly CraftingTemplate TaleWorlds.Core.WeaponDesign.Template

◆ TopPivotOffsets

List<float> TaleWorlds.Core.WeaponDesign.TopPivotOffsets

◆ BottomPivotOffsets

List<float> TaleWorlds.Core.WeaponDesign.BottomPivotOffsets

◆ HolsterShiftAmount

readonly Vec3 TaleWorlds.Core.WeaponDesign.HolsterShiftAmount

Property Documentation

◆ WeaponName

TextObject TaleWorlds.Core.WeaponDesign.WeaponName
get

◆ UsedPieces

WeaponDesignElement [] TaleWorlds.Core.WeaponDesign.UsedPieces
get

◆ HashedCode

string TaleWorlds.Core.WeaponDesign.HashedCode
get

◆ PiecePivotDistances

float [] TaleWorlds.Core.WeaponDesign.PiecePivotDistances
get

◆ TotalLength

float TaleWorlds.Core.WeaponDesign.TotalLength
get

◆ HandToBottomLength

float TaleWorlds.Core.WeaponDesign.HandToBottomLength
get

◆ BottomPivotOffset

float TaleWorlds.Core.WeaponDesign.BottomPivotOffset
get