TrinityCore
Loading...
Searching...
No Matches
instance_ecodome_aldani.cpp
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "Creature.h"
19#include "InstanceScript.h"
20#include "ScriptMgr.h"
21#include "ecodome_aldani.h"
22
30
31static constexpr DungeonEncounterData encounters[] =
32{
33 { DATA_AZHICCAR, {{ 3107 }} },
34 { DATA_TAAHBAT_AND_AWAZJ, {{ 3108 }} },
35 { DATA_SOUL_SCRIBE, {{ 3109 }} }
36};
37
39{
40public:
42
44 {
54
55 uint32 GetData(uint32 dataId) const override
56 {
57 switch (dataId)
58 {
61 default:
62 break;
63 }
64 return 0;
65 }
66
67 void SetData(uint32 dataId, uint32 value) override
68 {
69 switch (dataId)
70 {
72 _azhiccarIntroState = value;
73 break;
74 default:
75 break;
76 }
77 }
78
79 private:
81 };
82
87};
88
uint8_t uint8
Definition Define.h:156
uint32_t uint32
Definition Define.h:154
@ NOT_STARTED
#define DataHeader
uint32 const EncounterCount
void SetBossNumber(uint32 number)
void LoadObjectData(std::span< ObjectData const > creatureData, std::span< ObjectData const > gameObjectData)
void SetHeaders(std::string_view dataHeaders)
void LoadDungeonEncounterData(std::span< DungeonEncounterData const > encounters)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
@ DATA_SOUL_SCRIBE
@ DATA_TAAHBAT_AND_AWAZJ
@ DATA_AWAZJ
@ DATA_AZHICCAR
@ DATA_AZHICCAR_INTRO
@ DATA_TAAHBAT
@ BOSS_AWAZJ
@ BOSS_TAAHBAT
@ BOSS_SOUL_SCRIBE
@ BOSS_AZHICCAR
#define EAScriptName
static constexpr ObjectData creatureData[]
void AddSC_instance_ecodome_aldani()
static constexpr DungeonEncounterData encounters[]