![]() |
TrinityCore
|
#include "ZoneScript.h"#include "Common.h"#include "Duration.h"#include "Optional.h"#include <array>#include <map>#include <set>#include <span>#include <variant>
Include dependency graph for InstanceScript.h:Go to the source code of this file.
Classes | |
| struct | DungeonEncounterData |
| struct | DoorData |
| struct | BossBoundaryEntry |
| struct | BossBoundaryData |
| struct | MinionData |
| struct | ObjectData |
| struct | BossInfo |
| struct | DoorInfo |
| struct | MinionInfo |
| struct | UpdateBossStateSaveDataEvent |
| struct | UpdateAdditionalSaveDataEvent |
| class | InstanceScript |
| class | PersistentInstanceScriptValueBase |
| class | PersistentInstanceScriptValue< T > |
Macros | |
| #define | OUT_SAVE_INST_DATA TC_LOG_DEBUG("scripts", "Saving Instance Data for Instance {} (Map {}, Instance Id {})", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
| #define | OUT_SAVE_INST_DATA_COMPLETE TC_LOG_DEBUG("scripts", "Saving Instance Data for Instance {} (Map {}, Instance Id {}) completed.", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
| #define | OUT_LOAD_INST_DATA(a) TC_LOG_DEBUG("scripts", "Loading Instance Data for Instance {} (Map {}, Instance Id {}). Input is '{}'", instance->GetMapName(), instance->GetId(), instance->GetInstanceId(), a) |
| #define | OUT_LOAD_INST_DATA_COMPLETE TC_LOG_DEBUG("scripts", "Instance Data Load for Instance {} (Map {}, Instance Id: {}) is complete.", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
| #define | OUT_LOAD_INST_DATA_FAIL TC_LOG_ERROR("scripts", "Unable to load Instance Data for Instance {} (Map {}, Instance Id: {}).", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
Typedefs | |
| typedef std::vector< AreaBoundary const * > | CreatureBoundary |
| typedef std::multimap< uint32, DoorInfo > | DoorInfoMap |
| typedef std::pair< DoorInfoMap::const_iterator, DoorInfoMap::const_iterator > | DoorInfoMapBounds |
| typedef std::map< uint32, MinionInfo > | MinionInfoMap |
| typedef std::map< uint32, ObjectGuid > | ObjectGuidMap |
| typedef std::map< uint32, uint32 > | ObjectInfoMap |
Enumerations | |
| enum | EncounterFrameType { ENCOUNTER_FRAME_ENGAGE = 0 , ENCOUNTER_FRAME_DISENGAGE = 1 , ENCOUNTER_FRAME_UPDATE_PRIORITY = 2 , ENCOUNTER_FRAME_ADD_TIMER = 3 , ENCOUNTER_FRAME_ENABLE_OBJECTIVE = 4 , ENCOUNTER_FRAME_UPDATE_OBJECTIVE = 5 , ENCOUNTER_FRAME_DISABLE_OBJECTIVE = 6 , ENCOUNTER_FRAME_PHASE_SHIFT_CHANGED = 7 } |
| enum | EncounterState { NOT_STARTED = 0 , IN_PROGRESS = 1 , FAIL = 2 , DONE = 3 , SPECIAL = 4 , TO_BE_DECIDED = 5 } |
| enum class | EncounterDoorBehavior : uint8 { OpenWhenNotInProgress = 0 , OpenWhenDone = 1 , OpenWhenInProgress = 2 , OpenWhenNotDone = 3 , Max } |
Variables | |
| static constexpr uint32 | MAX_DUNGEON_ENCOUNTERS_PER_BOSS = 4 |
| #define OUT_LOAD_INST_DATA | ( | a | ) | TC_LOG_DEBUG("scripts", "Loading Instance Data for Instance {} (Map {}, Instance Id {}). Input is '{}'", instance->GetMapName(), instance->GetId(), instance->GetInstanceId(), a) |
Definition at line 37 of file InstanceScript.h.
| #define OUT_LOAD_INST_DATA_COMPLETE TC_LOG_DEBUG("scripts", "Instance Data Load for Instance {} (Map {}, Instance Id: {}) is complete.", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
Definition at line 38 of file InstanceScript.h.
| #define OUT_LOAD_INST_DATA_FAIL TC_LOG_ERROR("scripts", "Unable to load Instance Data for Instance {} (Map {}, Instance Id: {}).", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
Definition at line 39 of file InstanceScript.h.
| #define OUT_SAVE_INST_DATA TC_LOG_DEBUG("scripts", "Saving Instance Data for Instance {} (Map {}, Instance Id {})", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
Definition at line 35 of file InstanceScript.h.
| #define OUT_SAVE_INST_DATA_COMPLETE TC_LOG_DEBUG("scripts", "Saving Instance Data for Instance {} (Map {}, Instance Id {}) completed.", instance->GetMapName(), instance->GetId(), instance->GetInstanceId()) |
Definition at line 36 of file InstanceScript.h.
| typedef std::vector<AreaBoundary const*> CreatureBoundary |
Definition at line 132 of file InstanceScript.h.
| typedef std::multimap<uint32 , DoorInfo> DoorInfoMap |
Definition at line 174 of file InstanceScript.h.
| typedef std::pair<DoorInfoMap::const_iterator, DoorInfoMap::const_iterator> DoorInfoMapBounds |
Definition at line 175 of file InstanceScript.h.
| typedef std::map<uint32 , MinionInfo> MinionInfoMap |
Definition at line 177 of file InstanceScript.h.
| typedef std::map<uint32 , ObjectGuid > ObjectGuidMap |
Definition at line 178 of file InstanceScript.h.
| typedef std::map<uint32 , uint32 > ObjectInfoMap |
Definition at line 179 of file InstanceScript.h.
|
strong |
| Enumerator | |
|---|---|
| OpenWhenNotInProgress | |
| OpenWhenDone | |
| OpenWhenInProgress | |
| OpenWhenNotDone | |
| Max | |
Definition at line 78 of file InstanceScript.h.
| enum EncounterFrameType |
Definition at line 55 of file InstanceScript.h.
| enum EncounterState |
| Enumerator | |
|---|---|
| NOT_STARTED | |
| IN_PROGRESS | |
| FAIL | |
| DONE | |
| SPECIAL | |
| TO_BE_DECIDED | |
Definition at line 68 of file InstanceScript.h.
|
staticconstexpr |
Definition at line 87 of file InstanceScript.h.