AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
Chat.cpp File Reference
#include "Chat.h"
#include "AccountMgr.h"
#include "CellImpl.h"
#include "Common.h"
#include "GridNotifiersImpl.h"
#include "Language.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "Realm.h"
#include "ScriptMgr.h"
#include "Tokenize.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"
#include "WorldSessionMgr.h"
#include <boost/algorithm/string/replace.hpp>

Go to the source code of this file.

Enumerations

enum  SpellLinkType {
  SPELL_LINK_SPELL = 0 ,
  SPELL_LINK_TALENT = 1 ,
  SPELL_LINK_ENCHANT = 2 ,
  SPELL_LINK_TRADE = 3 ,
  SPELL_LINK_GLYPH = 4
}
 
enum  GuidLinkType {
  SPELL_LINK_PLAYER = 0 ,
  SPELL_LINK_CREATURE = 1 ,
  SPELL_LINK_GAMEOBJECT = 2
}
 

Variables

static char const *const spellKeys []
 
static char const *const guidKeys []
 

Enumeration Type Documentation

◆ GuidLinkType

Enumerator
SPELL_LINK_PLAYER 
SPELL_LINK_CREATURE 
SPELL_LINK_GAMEOBJECT 
683{
684 SPELL_LINK_PLAYER = 0, // must be first for selection in not link case
687};
@ SPELL_LINK_PLAYER
Definition Chat.cpp:684
@ SPELL_LINK_CREATURE
Definition Chat.cpp:685
@ SPELL_LINK_GAMEOBJECT
Definition Chat.cpp:686

◆ SpellLinkType

Enumerator
SPELL_LINK_SPELL 
SPELL_LINK_TALENT 
SPELL_LINK_ENCHANT 
SPELL_LINK_TRADE 
SPELL_LINK_GLYPH 
610{
616};
@ SPELL_LINK_SPELL
Definition Chat.cpp:611
@ SPELL_LINK_GLYPH
Definition Chat.cpp:615
@ SPELL_LINK_TALENT
Definition Chat.cpp:612
@ SPELL_LINK_ENCHANT
Definition Chat.cpp:613
@ SPELL_LINK_TRADE
Definition Chat.cpp:614

Variable Documentation

◆ guidKeys

char const* const guidKeys[]
static
Initial value:
=
{
"Hplayer",
"Hcreature",
"Hgameobject",
0
}
690{
691 "Hplayer",
692 "Hcreature",
693 "Hgameobject",
694 0
695};

Referenced by ChatHandler::extractLowGuidFromLink().

◆ spellKeys

char const* const spellKeys[]
static
Initial value:
=
{
"Hspell",
"Htalent",
"Henchant",
"Htrade",
"Hglyph",
0
}
619{
620 "Hspell", // normal spell
621 "Htalent", // talent spell
622 "Henchant", // enchanting recipe spell
623 "Htrade", // profession/skill spell
624 "Hglyph", // glyph
625 0
626};

Referenced by ChatHandler::extractSpellIdFromLink().