TrinityCore
ChatHandler.cpp File Reference
#include "WorldSession.h"
#include "AccountMgr.h"
#include "Channel.h"
#include "ChannelMgr.h"
#include "Chat.h"
#include "ChatPackets.h"
#include "Common.h"
#include "CreatureAI.h"
#include "DB2Stores.h"
#include "GameTime.h"
#include "GridNotifiersImpl.h"
#include "Group.h"
#include "Guild.h"
#include "GuildMgr.h"
#include "Language.h"
#include "LanguageMgr.h"
#include "Log.h"
#include "ObjectAccessor.h"
#include "ObjectMgr.h"
#include "Opcodes.h"
#include "Player.h"
#include "ScriptMgr.h"
#include "SpellAuraEffects.h"
#include "Util.h"
#include "Warden.h"
#include "World.h"
#include <algorithm>
+ Include dependency graph for ChatHandler.cpp:

Go to the source code of this file.

Enumerations

enum class  ChatWhisperTargetStatus : uint8 { CanWhisper = 0 , CanWhisperGuild = 1 , Offline = 2 , WrongFaction = 3 }
 

Functions

bool isNasty (uint8 c)
 
bool ValidateMessage (Player const *player, std::string &msg)
 

Enumeration Type Documentation

◆ ChatWhisperTargetStatus

enum class ChatWhisperTargetStatus : uint8
strong
Enumerator
CanWhisper 
CanWhisperGuild 
Offline 
WrongFaction 

Definition at line 46 of file ChatHandler.cpp.

Function Documentation

◆ isNasty()

bool isNasty ( uint8  c)
inline

Definition at line 54 of file ChatHandler.cpp.

+ Here is the caller graph for this function:

◆ ValidateMessage()

bool ValidateMessage ( Player const *  player,
std::string &  msg 
)
inline

Definition at line 63 of file ChatHandler.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: