![]() |
TrinityCore
|
#include <Unit.h>
Public Member Functions | |
| UnitActionBarEntry () | |
| ActiveStates | GetType () const |
| uint32 | GetAction () const |
| bool | IsActionBarForSpell () const |
| void | SetActionAndType (uint32 action, ActiveStates type) |
| void | SetType (ActiveStates type) |
| void | SetAction (uint32 action) |
Public Attributes | |
| uint32 | packedData |
|
inline |
Definition at line 641 of file Unit.h.
References packedData, and UNIT_ACTION_BUTTON_ACTION.
Referenced by Player::CharmSpellInitialize(), Pet::GenerateActionBarData(), Creature::GetPetAutoSpellOnPos(), WorldSession::HandlePetSetAction(), CharmInfo::SetSpellAutocast(), and CharmInfo::ToggleCreatureAutocast().
|
inline |
Definition at line 640 of file Unit.h.
References packedData, and UNIT_ACTION_BUTTON_TYPE.
Referenced by Pet::GenerateActionBarData(), Creature::GetPetAutoSpellOnPos(), WorldSession::HandlePetSetAction(), and IsActionBarForSpell().
|
inline |
Definition at line 642 of file Unit.h.
References ACT_DISABLED, ACT_ENABLED, ACT_PASSIVE, and GetType().
Referenced by CharmInfo::AddSpellToActionBar(), and CharmInfo::SetSpellAutocast().
|
inline |
Definition at line 658 of file Unit.h.
References packedData, and UNIT_ACTION_BUTTON_ACTION.
Referenced by CharmInfo::AddSpellToActionBar().
|
inline |
Definition at line 648 of file Unit.h.
References MAKE_UNIT_ACTION_BUTTON, and packedData.
Referenced by CharmInfo::InitCharmCreateSpells(), and CharmInfo::LoadPetActionBar().
|
inline |
Definition at line 653 of file Unit.h.
References MAKE_UNIT_ACTION_BUTTON, packedData, and UNIT_ACTION_BUTTON_ACTION.
Referenced by CharmInfo::SetSpellAutocast(), and CharmInfo::ToggleCreatureAutocast().
| uint32 UnitActionBarEntry::packedData |
Definition at line 637 of file Unit.h.
Referenced by Player::CharmSpellInitialize(), GetAction(), GetType(), SetAction(), SetActionAndType(), and SetType().