TrinityCore
Loading...
Searching...
No Matches
instance_shrine_of_the_storm.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 "AreaBoundary.h"
19#include "InstanceScript.h"
20#include "ScriptMgr.h"
21#include "shrine_of_the_storm.h"
22
24{
25 { DATA_AQUSIRR, new ZRangeBoundary(119.89f, 132.9f) },
26 { DATA_TIDESAGE_COUNCIL, new CircleBoundary({ 3939.6357f, -1007.4829f, 109.2227f }, 60.0f) },
27 { DATA_LORD_STORMSONG, new ZRangeBoundary(146.85f, 157.03f) }
28};
29
40
41static constexpr DungeonEncounterData encounters[] =
42{
43 { DATA_AQUSIRR, {{ 2130 }} },
44 { DATA_TIDESAGE_COUNCIL, {{ 2131 }} },
45 { DATA_LORD_STORMSONG, {{ 2132 }} },
46 { DATA_VOLZITH_THE_WHISPERER, {{ 2133 }} }
47};
48
50{
51public:
52 instance_shrine_of_the_storm() : InstanceMapScript("instance_shrine_of_the_storm", 1864) { }
53
55 {
66
67 uint32 GetData(uint32 dataId) const override
68 {
69 switch (dataId)
70 {
73 default:
74 break;
75 }
76 return 0;
77 }
78
79 void SetData(uint32 dataId, uint32 value) override
80 {
81 switch (dataId)
82 {
85 break;
86 default:
87 break;
88 }
89 }
90
91 private:
93 };
94
99};
100
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)
void LoadBossBoundaries(BossBoundaryData const &data)
InstanceScript * GetInstanceScript(InstanceMap *map) const override
static constexpr ObjectData creatureData[]
static BossBoundaryData const boundaries
static constexpr DungeonEncounterData encounters[]
void AddSC_instance_shrine_of_the_storm()
@ DATA_BROTHER_IRONHULL
@ DATA_TIDESAGE_COUNCIL
@ DATA_VOLZITH_THE_WHISPERER
@ DATA_LORD_STORMSONG_INTRO
@ DATA_LORD_STORMSONG_REXXAR
@ DATA_GALECALLER_FAYE
@ DATA_AQUSIRR
@ DATA_LORD_STORMSONG_BROTHER_PIKE
@ DATA_LORD_STORMSONG
@ NPC_LORD_STORMSONG_BROTHER_PIKE
@ BOSS_VOLZITH_THE_WHISPERER
@ BOSS_GALECALLER_FAYE
@ NPC_LORD_STORMSONG_REXXAR
@ BOSS_AQUSIRR
@ BOSS_LORD_STORMSONG
@ BOSS_BROTHER_IRONHULL