![]() |
TrinityCore
|
Include dependency graph for CharmInfo.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | UnitActionBarEntry |
| struct | CharmInfo |
Macros | |
| #define | UNIT_ACTION_BUTTON_ACTION(X) (uint32(X) & 0x00FFFFFF) |
| #define | UNIT_ACTION_BUTTON_TYPE(X) ((uint32(X) & 0xFF000000) >> 24) |
| #define | MAKE_UNIT_ACTION_BUTTON(A, T) (uint32(A) | (uint32(T) << 24)) |
| #define | MAX_UNIT_ACTION_BAR_INDEX (ACTION_BAR_INDEX_END-ACTION_BAR_INDEX_START) |
Typedefs | |
| typedef UnitActionBarEntry | CharmSpellInfo |
Enumerations | |
| enum | CharmType : uint8 { CHARM_TYPE_CHARM = 0 , CHARM_TYPE_POSSESS , CHARM_TYPE_VEHICLE , CHARM_TYPE_CONVERT } |
| enum | ActionBarIndex { ACTION_BAR_INDEX_START = 0 , ACTION_BAR_INDEX_PET_SPELL_START = 3 , ACTION_BAR_INDEX_PET_SPELL_END = 7 , ACTION_BAR_INDEX_END = 10 } |
Variables | |
| constexpr uint8 | MAX_SPELL_CHARM = 4 |
| constexpr uint8 | MAX_SPELL_VEHICLE = 6 |
| constexpr uint8 | MAX_SPELL_POSSESS = 8 |
| constexpr uint8 | MAX_SPELL_CONTROL_BAR = 10 |
Definition at line 34 of file CharmInfo.h.
| #define MAX_UNIT_ACTION_BAR_INDEX (ACTION_BAR_INDEX_END-ACTION_BAR_INDEX_START) |
Definition at line 85 of file CharmInfo.h.
| #define UNIT_ACTION_BUTTON_ACTION | ( | X | ) | (uint32(X) & 0x00FFFFFF) |
Definition at line 32 of file CharmInfo.h.
| #define UNIT_ACTION_BUTTON_TYPE | ( | X | ) | ((uint32(X) & 0xFF000000) >> 24) |
Definition at line 33 of file CharmInfo.h.
| typedef UnitActionBarEntry CharmSpellInfo |
Definition at line 75 of file CharmInfo.h.
| enum ActionBarIndex |
| Enumerator | |
|---|---|
| ACTION_BAR_INDEX_START | |
| ACTION_BAR_INDEX_PET_SPELL_START | |
| ACTION_BAR_INDEX_PET_SPELL_END | |
| ACTION_BAR_INDEX_END | |
Definition at line 77 of file CharmInfo.h.
| Enumerator | |
|---|---|
| CHARM_TYPE_CHARM | |
| CHARM_TYPE_POSSESS | |
| CHARM_TYPE_VEHICLE | |
| CHARM_TYPE_CONVERT | |
Definition at line 67 of file CharmInfo.h.
|
constexpr |
Definition at line 27 of file CharmInfo.h.
|
constexpr |
Definition at line 30 of file CharmInfo.h.
|
constexpr |
Definition at line 29 of file CharmInfo.h.
|
constexpr |
Definition at line 28 of file CharmInfo.h.