#include <item.h>
|
| | Item (World &owner, size_t inst, Type type) |
| |
| | Item (World &owner, Serialize &fin, Type type) |
| |
| | Item (Item &&) |
| |
| | ~Item () |
| |
| Item & | operator= (Item &&)=delete |
| |
| void | save (Serialize &fout) const override |
| |
| virtual void | clearView () |
| |
| virtual bool | isTorchBurn () const |
| |
| void | setPosition (float x, float y, float z) |
| |
| void | setDirection (float x, float y, float z) |
| |
| void | setObjMatrix (const Tempest::Matrix4x4 &m) |
| |
| bool | isMission () const |
| |
| bool | isEquipped () const |
| |
| uint8_t | equipCount () const |
| |
| void | setAsEquipped (bool e) |
| |
| void | setPhysicsEnable (World &w) |
| |
| void | setPhysicsDisable () |
| |
| bool | isDynamic () const override |
| |
| uint8_t | slot () const |
| |
| void | setSlot (uint8_t s) |
| |
| std::string_view | displayName () const |
| |
| std::string_view | description () const |
| |
| Tempest::Vec3 | position () const |
| |
| Tempest::Vec3 | midPosition () const |
| |
| bool | isGold () const |
| |
| ItmFlags | mainFlag () const |
| |
| int32_t | itemFlag () const |
| |
| bool | isMulti () const |
| |
| bool | is2H () const |
| |
| bool | isCrossbow () const |
| |
| bool | isRing () const |
| |
| bool | isArmor () const |
| |
| bool | isSpellShoot () const |
| |
| bool | isSpellOrRune () const |
| |
| bool | isSpell () const |
| |
| bool | isRune () const |
| |
| int32_t | spellId () const |
| |
| int32_t | swordLength () const |
| |
| void | setCount (size_t cnt) |
| |
| size_t | count () const |
| |
| std::string_view | uiText (size_t id) const |
| |
| int32_t | uiValue (size_t id) const |
| |
| int32_t | cost () const |
| |
| int32_t | sellCost () const |
| |
| bool | checkCond (const Npc &other) const |
| |
| bool | checkCondUse (const Npc &other, int32_t &atr, int32_t &nv) const |
| |
| bool | checkCondRune (const Npc &other, int32_t &cPl, int32_t &cIt) const |
| |
| const zenkit::IItem & | handle () const |
| |
| zenkit::IItem & | handle () |
| |
| const std::shared_ptr< zenkit::IItem > & | handlePtr () |
| |
| size_t | clsId () const |
| |
| | Vob (World &owner) |
| |
| | Vob (Vob *parent, World &owner, const zenkit::VirtualObject &vob, Flags flags) |
| |
| virtual | ~Vob () |
| |
| void | saveVobTree (Serialize &fin) const |
| |
| void | loadVobTree (Serialize &fin) |
| |
| virtual void | load (Serialize &fin) |
| |
| Tempest::Vec3 | position () const |
| |
| auto | transform () const -> const Tempest::Matrix4x4 & |
| |
| void | setGlobalTransform (const Tempest::Matrix4x4 &p) |
| |
| auto | localTransform () const -> const Tempest::Matrix4x4 & |
| |
| void | setLocalTransform (const Tempest::Matrix4x4 &p) |
| |
| virtual bool | setMobState (std::string_view scheme, int32_t st) |
| |
| virtual float | extendedSearchRadius () const |
| |
Definition at line 14 of file item.h.
◆ anonymous enum
| Enumerator |
|---|
| MAX_UI_ROWS | |
| NSLOT | |
Definition at line 16 of file item.h.
◆ Type
| Enumerator |
|---|
| T_World | |
| T_WorldDyn | |
| T_Inventory | |
Definition at line 18 of file item.h.
◆ Item() [1/3]
| Item::Item |
( |
World & |
owner, |
|
|
size_t |
inst, |
|
|
Type |
type |
|
) |
| |
◆ Item() [2/3]
◆ Item() [3/3]
◆ ~Item()
◆ checkCond()
| bool Item::checkCond |
( |
const Npc & |
other | ) |
const |
◆ checkCondRune()
| bool Item::checkCondRune |
( |
const Npc & |
other, |
|
|
int32_t & |
cPl, |
|
|
int32_t & |
cIt |
|
) |
| const |
◆ checkCondUse()
| bool Item::checkCondUse |
( |
const Npc & |
other, |
|
|
int32_t & |
atr, |
|
|
int32_t & |
nv |
|
) |
| const |
◆ clearView()
◆ clsId()
| size_t Item::clsId |
( |
| ) |
const |
◆ cost()
| int32_t Item::cost |
( |
| ) |
const |
◆ count()
| size_t Item::count |
( |
| ) |
const |
◆ description()
| std::string_view Item::description |
( |
| ) |
const |
◆ displayName()
| std::string_view Item::displayName |
( |
| ) |
const |
◆ equipCount()
| uint8_t Item::equipCount |
( |
| ) |
const |
|
inline |
◆ handle() [1/2]
| zenkit::IItem & Item::handle |
( |
| ) |
|
|
inline |
◆ handle() [2/2]
| const zenkit::IItem & Item::handle |
( |
| ) |
const |
|
inline |
◆ handlePtr()
| const std::shared_ptr< zenkit::IItem > & Item::handlePtr |
( |
| ) |
|
|
inline |
◆ is2H()
| bool Item::is2H |
( |
| ) |
const |
◆ isArmor()
| bool Item::isArmor |
( |
| ) |
const |
◆ isCrossbow()
| bool Item::isCrossbow |
( |
| ) |
const |
◆ isDynamic()
| bool Item::isDynamic |
( |
| ) |
const |
|
overridevirtual |
◆ isEquipped()
| bool Item::isEquipped |
( |
| ) |
const |
|
inline |
◆ isGold()
| bool Item::isGold |
( |
| ) |
const |
◆ isMission()
| bool Item::isMission |
( |
| ) |
const |
◆ isMulti()
| bool Item::isMulti |
( |
| ) |
const |
◆ isRing()
| bool Item::isRing |
( |
| ) |
const |
◆ isRune()
| bool Item::isRune |
( |
| ) |
const |
◆ isSpell()
| bool Item::isSpell |
( |
| ) |
const |
◆ isSpellOrRune()
| bool Item::isSpellOrRune |
( |
| ) |
const |
◆ isSpellShoot()
| bool Item::isSpellShoot |
( |
| ) |
const |
◆ isTorchBurn()
| bool Item::isTorchBurn |
( |
| ) |
const |
|
virtual |
◆ itemFlag()
| int32_t Item::itemFlag |
( |
| ) |
const |
◆ mainFlag()
◆ midPosition()
| Vec3 Item::midPosition |
( |
| ) |
const |
◆ moveEvent()
◆ operator=()
◆ position()
| Tempest::Vec3 Item::position |
( |
| ) |
const |
◆ save()
◆ sellCost()
| int32_t Item::sellCost |
( |
| ) |
const |
◆ setAsEquipped()
| void Item::setAsEquipped |
( |
bool |
e | ) |
|
◆ setCount()
| void Item::setCount |
( |
size_t |
cnt | ) |
|
◆ setDirection()
| void Item::setDirection |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ setObjMatrix()
| void Item::setObjMatrix |
( |
const Tempest::Matrix4x4 & |
m | ) |
|
◆ setPhysicsDisable()
| void Item::setPhysicsDisable |
( |
| ) |
|
◆ setPhysicsEnable() [1/3]
◆ setPhysicsEnable() [2/3]
| void Item::setPhysicsEnable |
( |
const ProtoMesh * |
mesh | ) |
|
|
protected |
◆ setPhysicsEnable() [3/3]
| void Item::setPhysicsEnable |
( |
World & |
w | ) |
|
◆ setPosition()
| void Item::setPosition |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
z |
|
) |
| |
◆ setSlot()
| void Item::setSlot |
( |
uint8_t |
s | ) |
|
|
inline |
◆ slot()
| uint8_t Item::slot |
( |
| ) |
const |
|
inline |
◆ spellId()
| int32_t Item::spellId |
( |
| ) |
const |
◆ swordLength()
| int32_t Item::swordLength |
( |
| ) |
const |
◆ uiText()
| std::string_view Item::uiText |
( |
size_t |
id | ) |
const |
◆ uiValue()
| int32_t Item::uiValue |
( |
size_t |
id | ) |
const |
The documentation for this class was generated from the following files: