TrinityCore
Loading...
Searching...
No Matches
instance_end_time.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 "ScriptMgr.h"
19#include "end_time.h"
20#include "InstanceScript.h"
21
22static constexpr ObjectData creatureData[] =
23{
25};
26
27static constexpr DungeonEncounterData encounters[] =
28{
29 { BOSS_ECHO_OF_BAINE, {{ 1881 }} },
30 { BOSS_ECHO_OF_SYLVANAS, {{ 1882 }} },
31 { BOSS_ECHO_OF_JAINA, {{ 1883 }} },
32 { BOSS_ECHO_OF_TYRANDE, {{ 1884 }} },
33 { BOSS_MUROZOND, {{ 1271 }} }
34};
35
57
#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
@ NPC_MUROZOND
Definition end_time.h:41
constexpr char const * ETScriptName
Definition end_time.h:24
@ BOSS_MUROZOND
Definition end_time.h:35
@ BOSS_ECHO_OF_JAINA
Definition end_time.h:33
@ BOSS_ECHO_OF_BAINE
Definition end_time.h:31
@ BOSS_ECHO_OF_SYLVANAS
Definition end_time.h:32
@ BOSS_ECHO_OF_TYRANDE
Definition end_time.h:34
static constexpr ObjectData creatureData[]
void AddSC_instance_end_time()
static constexpr DungeonEncounterData encounters[]