![]() |
Superfighters Deluxe
|
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... | |
Access to certain information about the weapon item
MeleeWeaponItem | ( | WeaponItem | weaponItem, |
float | durability, | ||
bool | isMakeshift | ||
) |
weaponItem | |
durability | |
isMakeshift |
MeleeWeaponItem | ( | WeaponItem | weaponItem, |
float | durability, | ||
float | currentValue, | ||
float | maxValue, | ||
bool | isMakeshift | ||
) |
weaponItem | |
durability | |
isMakeshift |
float CurrentValue |
Returns the current durability value of the melee weapon, range [0f - 100f]
float Durability |
Returns the durability of the melee weapon, range [0f - 1f]
bool IsMakeshift |
Returns if this is a makeshift melee weapon
float MaxValue |
Returns the max durability value of the melee weapon (100)
Returns the WeaponItem.
Returns the type of weapon.