![]() |
TrinityCore
|
#include "Define.h"
Include dependency graph for ObjectDefines.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | CONTACT_DISTANCE 0.5f |
| #define | INTERACTION_DISTANCE 5.0f |
| #define | ATTACK_DISTANCE 5.0f |
| #define | INSPECT_DISTANCE 28.0f |
| #define | TRADE_DISTANCE 11.11f |
| #define | MAX_VISIBILITY_DISTANCE SIZE_OF_GRIDS |
| #define | SIGHT_RANGE_UNIT 50.0f |
| #define | VISIBILITY_DISTANCE_GIGANTIC 400.0f |
| #define | VISIBILITY_DISTANCE_LARGE 200.0f |
| #define | VISIBILITY_DISTANCE_NORMAL 100.0f |
| #define | VISIBILITY_DISTANCE_SMALL 50.0f |
| #define | VISIBILITY_DISTANCE_TINY 25.0f |
| #define | DEFAULT_VISIBILITY_DISTANCE VISIBILITY_DISTANCE_NORMAL |
| #define | DEFAULT_VISIBILITY_INSTANCE 170.0f |
| #define | DEFAULT_VISIBILITY_BGARENAS 533.0f |
| #define | DEFAULT_PLAYER_BOUNDING_RADIUS 0.388999998569489f |
| #define | DEFAULT_PLAYER_COMBAT_REACH 1.5f |
| #define | MIN_MELEE_REACH 2.0f |
| #define | NOMINAL_MELEE_RANGE 5.0f |
| #define | MELEE_RANGE (NOMINAL_MELEE_RANGE - MIN_MELEE_REACH * 2) |
| #define | EXTRA_CELL_SEARCH_RADIUS 40.0f |
Enumerations | |
| enum class | VisibilityDistanceType : uint8 { Normal = 0 , Tiny = 1 , Small = 2 , Large = 3 , Gigantic = 4 , Infinite = 5 , Max } |
| enum | TempSummonType { TEMPSUMMON_TIMED_OR_DEAD_DESPAWN = 1 , TEMPSUMMON_TIMED_OR_CORPSE_DESPAWN = 2 , TEMPSUMMON_TIMED_DESPAWN = 3 , TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT = 4 , TEMPSUMMON_CORPSE_DESPAWN = 5 , TEMPSUMMON_CORPSE_TIMED_DESPAWN = 6 , TEMPSUMMON_DEAD_DESPAWN = 7 , TEMPSUMMON_MANUAL_DESPAWN = 8 } |
| enum | PhaseMasks { PHASEMASK_NORMAL = 0x00000001 , PHASEMASK_ANYWHERE = 0xFFFFFFFF } |
| enum | NotifyFlags { NOTIFY_NONE = 0x00 , NOTIFY_AI_RELOCATION = 0x01 , NOTIFY_VISIBILITY_CHANGED = 0x02 , NOTIFY_ALL = 0xFF } |
| enum | GOSummonType { GO_SUMMON_TIMED_OR_CORPSE_DESPAWN = 0 , GO_SUMMON_TIMED_DESPAWN = 1 } |
Functions | |
| uint64 | MAKE_PAIR64 (uint32 l, uint32 h) |
| uint32 | PAIR64_HIPART (uint64 x) |
| uint32 | PAIR64_LOPART (uint64 x) |
| uint16 | MAKE_PAIR16 (uint8 l, uint8 h) |
| uint32 | MAKE_PAIR32 (uint16 l, uint16 h) |
| uint16 | PAIR32_HIPART (uint32 x) |
| uint16 | PAIR32_LOPART (uint32 x) |
| #define ATTACK_DISTANCE 5.0f |
Definition at line 25 of file ObjectDefines.h.
| #define CONTACT_DISTANCE 0.5f |
Definition at line 23 of file ObjectDefines.h.
| #define DEFAULT_PLAYER_BOUNDING_RADIUS 0.388999998569489f |
Definition at line 39 of file ObjectDefines.h.
| #define DEFAULT_PLAYER_COMBAT_REACH 1.5f |
Definition at line 40 of file ObjectDefines.h.
| #define DEFAULT_VISIBILITY_BGARENAS 533.0f |
Definition at line 37 of file ObjectDefines.h.
| #define DEFAULT_VISIBILITY_DISTANCE VISIBILITY_DISTANCE_NORMAL |
Definition at line 35 of file ObjectDefines.h.
| #define DEFAULT_VISIBILITY_INSTANCE 170.0f |
Definition at line 36 of file ObjectDefines.h.
| #define EXTRA_CELL_SEARCH_RADIUS 40.0f |
Definition at line 45 of file ObjectDefines.h.
| #define INSPECT_DISTANCE 28.0f |
Definition at line 26 of file ObjectDefines.h.
| #define INTERACTION_DISTANCE 5.0f |
Definition at line 24 of file ObjectDefines.h.
| #define MAX_VISIBILITY_DISTANCE SIZE_OF_GRIDS |
Definition at line 28 of file ObjectDefines.h.
| #define MELEE_RANGE (NOMINAL_MELEE_RANGE - MIN_MELEE_REACH * 2) |
Definition at line 43 of file ObjectDefines.h.
| #define MIN_MELEE_REACH 2.0f |
Definition at line 41 of file ObjectDefines.h.
| #define NOMINAL_MELEE_RANGE 5.0f |
Definition at line 42 of file ObjectDefines.h.
| #define SIGHT_RANGE_UNIT 50.0f |
Definition at line 29 of file ObjectDefines.h.
| #define TRADE_DISTANCE 11.11f |
Definition at line 27 of file ObjectDefines.h.
| #define VISIBILITY_DISTANCE_GIGANTIC 400.0f |
Definition at line 30 of file ObjectDefines.h.
| #define VISIBILITY_DISTANCE_LARGE 200.0f |
Definition at line 31 of file ObjectDefines.h.
| #define VISIBILITY_DISTANCE_NORMAL 100.0f |
Definition at line 32 of file ObjectDefines.h.
| #define VISIBILITY_DISTANCE_SMALL 50.0f |
Definition at line 33 of file ObjectDefines.h.
| #define VISIBILITY_DISTANCE_TINY 25.0f |
Definition at line 34 of file ObjectDefines.h.
| enum GOSummonType |
| Enumerator | |
|---|---|
| GO_SUMMON_TIMED_OR_CORPSE_DESPAWN | |
| GO_SUMMON_TIMED_DESPAWN | |
Definition at line 85 of file ObjectDefines.h.
| enum NotifyFlags |
| Enumerator | |
|---|---|
| NOTIFY_NONE | |
| NOTIFY_AI_RELOCATION | |
| NOTIFY_VISIBILITY_CHANGED | |
| NOTIFY_ALL | |
Definition at line 77 of file ObjectDefines.h.
| enum PhaseMasks |
| Enumerator | |
|---|---|
| PHASEMASK_NORMAL | |
| PHASEMASK_ANYWHERE | |
Definition at line 71 of file ObjectDefines.h.
| enum TempSummonType |
Definition at line 59 of file ObjectDefines.h.
|
strong |
| Enumerator | |
|---|---|
| Normal | |
| Tiny | |
| Small | |
| Large | |
| Gigantic | |
| Infinite | |
| Max | |
Definition at line 47 of file ObjectDefines.h.
Definition at line 106 of file ObjectDefines.h.
Referenced by ObjectMgr::GetCreatureBaseStats(), and ObjectMgr::LoadCreatureClassLevelStats().
Definition at line 111 of file ObjectDefines.h.
Referenced by ObjectMgr::AddCreatureToGrid(), ObjectMgr::AddGameobjectToGrid(), ObjectMgr::GetAccessRequirement(), ObjectMgr::GetCellObjectGuids(), ObjectMgr::GetDungeonEncounterList(), ObjectMgr::GetMapObjectGuids(), InstanceSaveManager::GetResetTimeFor(), InstanceSaveManager::InitializeResetTimeFor(), ObjectMgr::LoadAccessRequirements(), ObjectMgr::LoadInstanceEncounters(), ObjectMgr::LoadQuestGreetingLocales(), InstanceSaveManager::LoadResetTimes(), ObjectMgr::RemoveCreatureFromGrid(), ObjectMgr::RemoveGameobjectFromGrid(), PlayerMenu::SendQuestGiverQuestList(), and InstanceSaveManager::SetResetTimeFor().
Definition at line 91 of file ObjectDefines.h.
Referenced by SpellInfo::SpellInfo().
Definition at line 116 of file ObjectDefines.h.
Referenced by InstanceSaveManager::LoadResetTimes().
Definition at line 121 of file ObjectDefines.h.
Referenced by WorldSession::HandleCalendarGetCalendar(), and InstanceSaveManager::LoadResetTimes().
Definition at line 96 of file ObjectDefines.h.
References UI64LIT.
Referenced by Object::SetUInt64Value().
Definition at line 101 of file ObjectDefines.h.
References UI64LIT.
Referenced by Object::SetUInt64Value().