|
int | _material |
|
uint | _id |
|
ItemState | _state |
|
int | _frame |
|
◆ XeenItem()
Xeen::XeenItem::XeenItem |
( |
| ) |
|
◆ getItemName()
static const char* Xeen::XeenItem::getItemName |
( |
ItemCategory |
category, |
|
|
uint |
id |
|
) |
| |
|
static |
Return the name of the item
◆ clear()
void Xeen::XeenItem::clear |
( |
| ) |
|
Clear the data for the item
◆ empty()
bool Xeen::XeenItem::empty |
( |
| ) |
const |
|
inline |
Returns true if no item is set
◆ isBad()
bool Xeen::XeenItem::isBad |
( |
| ) |
const |
|
inline |
Returns true if the item is cursed or broken
◆ isEquipped()
bool Xeen::XeenItem::isEquipped |
( |
| ) |
const |
|
inline |
Returns true for weapons if it's equipped
◆ synchronize()
Synchronizes the data for the item
◆ getElementalCategory() [1/2]
ElementalCategory Xeen::XeenItem::getElementalCategory |
( |
| ) |
const |
Gets the elemental category for the item
◆ getElementalCategory() [2/2]
static ElementalCategory Xeen::XeenItem::getElementalCategory |
( |
int |
material | ) |
|
|
static |
Gets the elemental category for a given material
◆ getAttributeCategory()
AttributeCategory Xeen::XeenItem::getAttributeCategory |
( |
| ) |
const |
Gets the attribute category for the item
The documentation for this class was generated from the following file: