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
23static constexpr ObjectData creatureData[] =
24{
29 { 0, 0 } // END
30};
31
32static constexpr DungeonEncounterData encounters[] =
33{
34 { DATA_AZHICCAR, {{ 3107 }} },
35 { DATA_TAAHBAT_AND_AWAZJ, {{ 3108 }} },
36 { DATA_SOUL_SCRIBE, {{ 3109 }} }
37};
38
40{
41public:
43
45 {
55
56 uint32 GetData(uint32 dataId) const override
57 {
58 switch (dataId)
59 {
62 default:
63 break;
64 }
65 return 0;
66 }
67
68 void SetData(uint32 dataId, uint32 value) override
69 {
70 switch (dataId)
71 {
73 _azhiccarIntroState = value;
74 break;
75 default:
76 break;
77 }
78 }
79
80 private:
82 };
83
88};
89
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[]