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