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 <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 
682{
683 SPELL_LINK_PLAYER = 0, // must be first for selection in not link case
686};
@ SPELL_LINK_PLAYER
Definition: Chat.cpp:683
@ SPELL_LINK_CREATURE
Definition: Chat.cpp:684
@ SPELL_LINK_GAMEOBJECT
Definition: Chat.cpp:685

◆ SpellLinkType

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

Variable Documentation

◆ guidKeys

char const* const guidKeys[]
static
Initial value:
=
{
"Hplayer",
"Hcreature",
"Hgameobject",
0
}

Referenced by ChatHandler::extractLowGuidFromLink().

◆ spellKeys

char const* const spellKeys[]
static
Initial value:
=
{
"Hspell",
"Htalent",
"Henchant",
"Htrade",
"Hglyph",
0
}

Referenced by ChatHandler::extractSpellIdFromLink().