TrinityCore
the_slave_pens.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 SLAVE_PENS_H
19#define SLAVE_PENS_H
20
21#include "CreatureAIImpl.h"
22
24
25#define SPScriptName "instance_the_slave_pens"
26#define DataHeader "SP"
27
29{
46};
47
49{
50 NPC_AHUNE = 25740,
61};
62
64{
65 GO_ICE_SPEAR = 188077,
66 GO_ICE_STONE = 187882
67};
68
69template <class AI, class T>
70inline AI* GetSlavePensAI(T* obj)
71{
72 return GetInstanceAI<AI>(obj, SPScriptName);
73}
74
75#define RegisterSlavePensCreatureAI(ai_name) RegisterCreatureAIWithFactory(ai_name, GetSlavePensAI)
76#define RegisterSlavePensGameObjectAI(ai_name) RegisterGameObjectAIWithFactory(ai_name, GetSlavePensAI)
77
78#endif // SLAVE_PENS_H
uint32_t uint32
Definition: Define.h:142
SPGameObjectIds
@ GO_ICE_SPEAR
@ GO_ICE_STONE
SPCreaturesIds
@ NPC_SHAMAN_BONFIRE_BUNNY_001
@ NPC_SHAMAN_BEAM_BUNNY_001
@ NPC_SHAMAN_BEAM_BUNNY_000
@ NPC_FROZEN_CORE
@ NPC_AHUNE
@ NPC_EARTHEN_RING_FLAMECALLER
@ NPC_SHAMAN_BONFIRE_BUNNY_002
@ NPC_AHUNE_LOC_BUNNY
@ NPC_SHAMAN_BONFIRE_BUNNY_000
@ NPC_LUMA_SKYMOTHER
@ NPC_SHAMAN_BEAM_BUNNY_002
AI * GetSlavePensAI(T *obj)
uint32 const EncounterCount
SPDataTypes
@ DATA_BONFIRE_BUNNY_000
@ DATA_BEAM_BUNNY_002
@ DATA_AHUNE_BUNNY
@ DATA_FLAMECALLER_000
@ DATA_FROZEN_CORE
@ DATA_AHUNE
@ DATA_BEAM_BUNNY_001
@ DATA_QUAGMIRRAN
@ DATA_MENNU_THE_BETRAYER
@ DATA_ROKMAR_THE_CRACKLER
@ DATA_FLAMECALLER_001
@ DATA_BONFIRE_BUNNY_001
@ DATA_LUMA_SKYMOTHER
@ DATA_BEAM_BUNNY_000
@ DATA_BONFIRE_BUNNY_002
@ DATA_FLAMECALLER_002
#define SPScriptName