TrinityCore
gnomeregan.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_GNOMEREGAN_H
19#define DEF_GNOMEREGAN_H
20
21#include "CreatureAIImpl.h"
22
23#define GNOScriptName "instance_gnomeregan"
24#define DataHeader "GNO"
25
27{
30 GO_RED_ROCKET = 103820
31};
32
34{
43};
44
46{
52
54};
55
57{
61};
62
63template <class AI, class T>
64inline AI* GetGnomereganAI(T* obj)
65{
66 return GetInstanceAI<AI>(obj, GNOScriptName);
67}
68
69#endif
GNOCreatureIds
Definition: gnomeregan.h:34
@ NPC_BLASTMASTER_EMI_SHORTFUSE
Definition: gnomeregan.h:35
@ NPC_CAVERNDEEP_AMBUSHER
Definition: gnomeregan.h:36
@ NPC_ELECTROCUTIONER
Definition: gnomeregan.h:40
@ NPC_GRUBBIS
Definition: gnomeregan.h:37
@ NPC_CROWD_PUMMELER
Definition: gnomeregan.h:41
@ NPC_MEKGINEER
Definition: gnomeregan.h:42
@ NPC_VICIOUS_FALLOUT
Definition: gnomeregan.h:38
@ NPC_CHOMPER
Definition: gnomeregan.h:39
GNOGameObjectIds
Definition: gnomeregan.h:27
@ GO_RED_ROCKET
Definition: gnomeregan.h:30
@ GO_CAVE_IN_LEFT
Definition: gnomeregan.h:28
@ GO_CAVE_IN_RIGHT
Definition: gnomeregan.h:29
GNOData64
Definition: gnomeregan.h:57
@ DATA_NPC_BASTMASTER_EMI_SHORTFUSE
Definition: gnomeregan.h:60
@ DATA_GO_CAVE_IN_LEFT
Definition: gnomeregan.h:58
@ DATA_GO_CAVE_IN_RIGHT
Definition: gnomeregan.h:59
#define GNOScriptName
Definition: gnomeregan.h:23
GNOData
Definition: gnomeregan.h:46
@ DATA_THERMAPLUGG
Definition: gnomeregan.h:51
@ DATA_VICIOUS_FALLOUT
Definition: gnomeregan.h:48
@ DATA_ELECTROCUTIONER
Definition: gnomeregan.h:49
@ MAX_ENCOUNTER
Definition: gnomeregan.h:53
@ DATA_CROWD_PUMMELER
Definition: gnomeregan.h:50
@ DATA_BLASTMASTER_EVENT
Definition: gnomeregan.h:47
AI * GetGnomereganAI(T *obj)
Definition: gnomeregan.h:64