TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
steam_vault.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
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_STEAM_VAULT_H
19 #define DEF_STEAM_VAULT_H
20 
21 #define SteamVaultScriptName "instance_steam_vault"
22 #define DataHeader "SV"
23 
25 
27 {
32 
33  // Additional Data
36 };
37 
39 {
43 };
44 
46 {
50 };
51 
52 template<class AI>
53 AI* GetSteamVaultAI(Creature* creature)
54 {
55  return GetInstanceAI<AI>(creature, SteamVaultScriptName);
56 }
57 
58 #endif
uint32 const EncounterCount
Definition: steam_vault.h:24
#define SteamVaultScriptName
Definition: steam_vault.h:21
Definition: steam_vault.h:28
DataTypes
Definition: baradin_hold.h:30
GameObjectIds
Definition: baradin_hold.h:48
Definition: Creature.h:467
Definition: steam_vault.h:41
Definition: steam_vault.h:31
Definition: steam_vault.h:40
Definition: steam_vault.h:29
uint32_t uint32
Definition: Define.h:150
Definition: steam_vault.h:35
Definition: steam_vault.h:34
Definition: steam_vault.h:49
Definition: steam_vault.h:47
AI * GetSteamVaultAI(Creature *creature)
Definition: steam_vault.h:53
Definition: steam_vault.h:30
Definition: steam_vault.h:48
Definition: steam_vault.h:42
CreatureIds
Definition: baradin_hold.h:37