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 "Log.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "Realm.h"
#include "ScriptMgr.h"
#include "SpellMgr.h"
#include "Tokenize.h"
#include "UpdateMask.h"
#include "World.h"
#include "WorldPacket.h"
#include "WorldSession.h"

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 
602{
603 SPELL_LINK_PLAYER = 0, // must be first for selection in not link case
606};
@ SPELL_LINK_PLAYER
Definition: Chat.cpp:603
@ SPELL_LINK_CREATURE
Definition: Chat.cpp:604
@ SPELL_LINK_GAMEOBJECT
Definition: Chat.cpp:605

◆ SpellLinkType

Enumerator
SPELL_LINK_SPELL 
SPELL_LINK_TALENT 
SPELL_LINK_ENCHANT 
SPELL_LINK_TRADE 
SPELL_LINK_GLYPH 
529{
535};
@ SPELL_LINK_SPELL
Definition: Chat.cpp:530
@ SPELL_LINK_GLYPH
Definition: Chat.cpp:534
@ SPELL_LINK_TALENT
Definition: Chat.cpp:531
@ SPELL_LINK_ENCHANT
Definition: Chat.cpp:532
@ SPELL_LINK_TRADE
Definition: Chat.cpp:533

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().