Superfighters Deluxe
MeleeWeaponItem Struct Reference

Access to certain information about the weapon item More...

Public Member Functions

 MeleeWeaponItem (WeaponItem weaponItem, float durability, bool isMakeshift)
 
 MeleeWeaponItem (WeaponItem weaponItem, float durability, float currentValue, float maxValue, bool isMakeshift)
 

Public Attributes

float CurrentValue
 Returns the current durability value of the melee weapon, range [0f - 100f] More...
 
float Durability
 Returns the durability of the melee weapon, range [0f - 1f] More...
 
bool IsMakeshift
 Returns if this is a makeshift melee weapon More...
 
float MaxValue
 Returns the max durability value of the melee weapon (100) More...
 
WeaponItem WeaponItem
 Returns the WeaponItem. More...
 
WeaponItemType WeaponItemType
 Returns the type of weapon. More...
 

Detailed Description

Access to certain information about the weapon item

Constructor & Destructor Documentation

◆ MeleeWeaponItem() [1/2]

MeleeWeaponItem ( WeaponItem  weaponItem,
float  durability,
bool  isMakeshift 
)

Parameters
weaponItem
durability
isMakeshift

◆ MeleeWeaponItem() [2/2]

MeleeWeaponItem ( WeaponItem  weaponItem,
float  durability,
float  currentValue,
float  maxValue,
bool  isMakeshift 
)

Parameters
weaponItem
durability
isMakeshift

Member Data Documentation

◆ CurrentValue

float CurrentValue

Returns the current durability value of the melee weapon, range [0f - 100f]

◆ Durability

float Durability

Returns the durability of the melee weapon, range [0f - 1f]

◆ IsMakeshift

bool IsMakeshift

Returns if this is a makeshift melee weapon

◆ MaxValue

float MaxValue

Returns the max durability value of the melee weapon (100)

◆ WeaponItem

Returns the WeaponItem.

◆ WeaponItemType

Returns the type of weapon.