Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
ChatLink.cpp File Reference
#include "AchievementMgr.h"
#include "ChatLink.h"
#include "DBCStores.h"
#include "ObjectMgr.h"
#include "SpellInfo.h"
#include "SpellMgr.h"
Include dependency graph for ChatLink.cpp:

Go to the source code of this file.

Macros

#define DELIMITER   ':'
#define PIPE_CHAR   '|'

Functions

bool CheckDelimiter (std::istringstream &iss, char delimiter, const char *context)
bool ReadHex (std::istringstream &iss, uint32 &res, uint32 length)
bool ReadInt32 (std::istringstream &iss, int32 &res)
std::string ReadSkip (std::istringstream &iss, char term)
bool ReadUInt32 (std::istringstream &iss, uint32 &res)

Macro Definition Documentation

◆ DELIMITER

◆ PIPE_CHAR

#define PIPE_CHAR   '|'

Definition at line 85 of file ChatLink.cpp.

Referenced by TradeChatLink::Initialize(), and LinkExtractor::IsValidMessage().

Function Documentation

◆ CheckDelimiter()

bool CheckDelimiter ( std::istringstream & iss,
char delimiter,
const char * context )
inline

◆ ReadHex()

bool ReadHex ( std::istringstream & iss,
uint32 & res,
uint32 length )
inline

◆ ReadInt32()

bool ReadInt32 ( std::istringstream & iss,
int32 & res )
inline

◆ ReadSkip()

std::string ReadSkip ( std::istringstream & iss,
char term )
inline

Definition at line 49 of file ChatLink.cpp.

Referenced by TradeChatLink::Initialize().

◆ ReadUInt32()