Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
NPCHandler.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SF_NPCHANDLER_H
7#define SF_NPCHANDLER_H
8
9struct QEmote
10{
11 QEmote() : _Emote(0), _Delay(0) { }
14};
15
16#define MAX_GOSSIP_TEXT_EMOTES 3
17
26
27#define MAX_GOSSIP_TEXT_OPTIONS 8
28
33
38
40{
41 NpcTextLocale() { Text_0.resize(11); Text_1.resize(11); }
42
43 std::vector<StringVector> Text_0;
44 std::vector<StringVector> Text_1;
45};
46#endif
std::vector< std::string > StringVector
Definition Common.h:163
std::uint32_t uint32
Definition Define.h:77
#define MAX_GOSSIP_TEXT_OPTIONS
Definition NPCHandler.h:27
#define MAX_GOSSIP_TEXT_EMOTES
Definition NPCHandler.h:16
GossipTextOption Options[MAX_GOSSIP_TEXT_OPTIONS]
Definition NPCHandler.h:31
std::string Text_0
Definition NPCHandler.h:20
QEmote Emotes[MAX_GOSSIP_TEXT_EMOTES]
Definition NPCHandler.h:24
std::string Text_1
Definition NPCHandler.h:21
std::vector< StringVector > Text_0
Definition NPCHandler.h:43
std::vector< StringVector > Text_1
Definition NPCHandler.h:44
StringVector Text
Definition NPCHandler.h:36
uint32 _Emote
Definition NPCHandler.h:12
uint32 _Delay
Definition NPCHandler.h:13