TrinityCore
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
NPCHandler.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
3
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
4
*
5
* This program is free software; you can redistribute it and/or modify it
6
* under the terms of the GNU General Public License as published by the
7
* Free Software Foundation; either version 2 of the License, or (at your
8
* option) any later version.
9
*
10
* This program is distributed in the hope that it will be useful, but WITHOUT
11
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
* more details.
14
*
15
* You should have received a copy of the GNU General Public License along
16
* with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef __NPCHANDLER_H
20
#define __NPCHANDLER_H
21
22
struct
NpcTextData
23
{
24
float
Probability
;
25
uint32
BroadcastTextID
;
26
};
27
28
#define MAX_NPC_TEXT_OPTIONS 8
29
30
struct
NpcText
31
{
32
NpcTextData
Data
[
MAX_NPC_TEXT_OPTIONS
];
33
};
34
35
struct
PageTextLocale
36
{
37
StringVector
Text
;
38
};
39
40
#endif
41
NpcText
Definition:
NPCHandler.h:30
MAX_NPC_TEXT_OPTIONS
#define MAX_NPC_TEXT_OPTIONS
Definition:
NPCHandler.h:28
NpcTextData::Probability
float Probability
Definition:
NPCHandler.h:24
uint32
uint32_t uint32
Definition:
Define.h:150
PageTextLocale::Text
StringVector Text
Definition:
NPCHandler.h:37
StringVector
std::vector< std::string > StringVector
Definition:
Common.h:142
NpcTextData
Definition:
NPCHandler.h:22
NpcTextData::BroadcastTextID
uint32 BroadcastTextID
Definition:
NPCHandler.h:25
PageTextLocale
Definition:
NPCHandler.h:35
Data
Data
Definition:
molten_core.h:69
Generated on Tue Apr 5 2016 20:13:29 for TrinityCore by
1.8.8