TrinityCore
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
scholomance.h
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#ifndef DEF_SCHOLOMANCE_H
19#define DEF_SCHOLOMANCE_H
20
21#include "CreatureAIImpl.h"
22
23#define ScholomanceScriptName "instance_scholomance"
24#define DataHeader "SC"
25
27
29{
38};
39
41{
43 NPC_BONE_MINION = 16119
44};
45
47{
54 GO_GATE_BAROV = 177373,
57};
58
59template <class AI, class T>
60inline AI* GetScholomanceAI(T* obj)
61{
62 return GetInstanceAI<AI>(obj, ScholomanceScriptName);
63}
64
65#define RegisterScholomanceCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetScholomanceAI)
66#define RegisterScholomanceGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetScholomanceAI)
67
68#endif
uint32_t uint32
Definition: Define.h:133
AI * GetScholomanceAI(T *obj)
Definition: scholomance.h:60
uint32 const EncounterCount
Definition: scholomance.h:26
SCCreatureIds
Definition: scholomance.h:41
@ NPC_BONE_MINION
Definition: scholomance.h:43
@ NPC_DARKMASTER_GANDLING
Definition: scholomance.h:42
SCDataTypes
Definition: scholomance.h:29
@ DATA_LOREKEEPER_POLKELT
Definition: scholomance.h:34
@ DATA_LADY_ILLUCIA_BAROV
Definition: scholomance.h:32
@ DATA_LORD_ALEXEI_BAROV
Definition: scholomance.h:33
@ DATA_THE_RAVENIAN
Definition: scholomance.h:35
@ DATA_INSTRUCTOR_MALICIA
Definition: scholomance.h:31
@ DATA_DOCTOR_THEOLEN_KRASTINOV
Definition: scholomance.h:30
@ DATA_DARKMASTER_GANDLING
Definition: scholomance.h:36
@ DATA_KIRTONOS
Definition: scholomance.h:37
#define ScholomanceScriptName
Definition: scholomance.h:23
SCGameobjectIds
Definition: scholomance.h:47
@ GO_GATE_RAVENIAN
Definition: scholomance.h:50
@ GO_GATE_KIRTONOS
Definition: scholomance.h:48
@ GO_GATE_BAROV
Definition: scholomance.h:54
@ GO_GATE_POLKELT
Definition: scholomance.h:55
@ GO_GATE_GANDLING
Definition: scholomance.h:49
@ GO_BRAZIER_OF_THE_HERALD
Definition: scholomance.h:56
@ GO_GATE_THEOLEN
Definition: scholomance.h:51
@ GO_GATE_ILLUCIA
Definition: scholomance.h:52
@ GO_GATE_MALICIA
Definition: scholomance.h:53