M&B: Bannerlord 1.1.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
Helpers.ItemHelper Class Reference

Static Public Member Functions

static bool IsWeaponComparableWithUsage (ItemObject item, string comparedUsageId)
 
static bool IsWeaponComparableWithUsage (ItemObject item, string comparedUsageId, out int comparableUsageIndex)
 
static bool CheckComparability (ItemObject item, ItemObject comparedItem)
 
static bool CheckComparability (ItemObject item, ItemObject comparedItem, int usageIndex)
 
static TextObject GetSwingDamageText (WeaponComponentData weapon, ItemModifier itemModifier)
 
static TextObject GetMissileDamageText (WeaponComponentData weapon, ItemModifier itemModifier)
 
static TextObject GetThrustDamageText (WeaponComponentData weapon, ItemModifier itemModifier)
 
static TextObject NumberOfItems (int number, ItemObject item)
 

Member Function Documentation

◆ IsWeaponComparableWithUsage() [1/2]

static bool Helpers.ItemHelper.IsWeaponComparableWithUsage ( ItemObject  item,
string  comparedUsageId 
)
static

◆ IsWeaponComparableWithUsage() [2/2]

static bool Helpers.ItemHelper.IsWeaponComparableWithUsage ( ItemObject  item,
string  comparedUsageId,
out int  comparableUsageIndex 
)
static

◆ CheckComparability() [1/2]

static bool Helpers.ItemHelper.CheckComparability ( ItemObject  item,
ItemObject  comparedItem 
)
static

◆ CheckComparability() [2/2]

static bool Helpers.ItemHelper.CheckComparability ( ItemObject  item,
ItemObject  comparedItem,
int  usageIndex 
)
static

◆ GetSwingDamageText()

static TextObject Helpers.ItemHelper.GetSwingDamageText ( WeaponComponentData  weapon,
ItemModifier  itemModifier 
)
static

◆ GetMissileDamageText()

static TextObject Helpers.ItemHelper.GetMissileDamageText ( WeaponComponentData  weapon,
ItemModifier  itemModifier 
)
static

◆ GetThrustDamageText()

static TextObject Helpers.ItemHelper.GetThrustDamageText ( WeaponComponentData  weapon,
ItemModifier  itemModifier 
)
static

◆ NumberOfItems()

static TextObject Helpers.ItemHelper.NumberOfItems ( int  number,
ItemObject  item 
)
static