210 boost::shared_lock<boost::shared_mutex> lock(
sWardenCheckMgr->_checkStoreLock);
253 buff <<
uint8(type ^ xorByte);
274 buff <<
uint8(index++);
280 buff <<
uint8(index++);
288 hmac.UpdateData(wd->
Str);
290 buff.
append(hmac.GetDigest(), hmac.GetLength());
306 buff <<
uint8(xorByte);
318 std::stringstream stream;
319 stream <<
"Sent check id's: ";
321 stream << *itr <<
" ";
uint8 * contents()
Definition: ByteBuffer.h:573
Definition: ByteBuffer.h:70
uint8 Length
Definition: WardenCheckMgr.h:39
uint8 Type
Definition: WardenCheckMgr.h:36
uint32 getMSTime()
Definition: Timer.h:24
bool _dataSent
Definition: Warden.h:133
#define TC_LOG_DEBUG(filterType__,...)
Definition: Log.h:198
std::list< uint16 > _otherChecksTodo
Definition: WardenWin.h:81
#define sWorld
Definition: World.h:887
Definition: HmacHash.h:34
std::list< uint16 > _memChecksTodo
Definition: WardenWin.h:82
int32 GetNumBytes(void)
Definition: BigNumber.cpp:157
std::list< uint16 > _currentChecks
Definition: WardenWin.h:83
BigNumber Data
Definition: WardenCheckMgr.h:37
size_t size() const
Definition: ByteBuffer.h:587
uint32_t uint32
Definition: Define.h:150
uint16_t uint16
Definition: Define.h:151
void EncryptData(uint8 *buffer, uint32 length)
Definition: Warden.cpp:137
WorldSession * _session
Definition: Warden.h:125
void SendPacket(WorldPacket const *packet, bool forced=false)
Send a packet to the client.
Definition: WorldSession.cpp:211
void hexlike() const
Definition: ByteBuffer.cpp:82
void append(T value)
Definition: ByteBuffer.h:143
uint32 _serverTicks
Definition: WardenWin.h:80
uint8_t uint8
Definition: g3dmath.h:164
uint8 _inputKey[16]
Definition: Warden.h:126
#define sWardenCheckMgr
Definition: WardenCheckMgr.h:80
std::unique_ptr< uint8[]> AsByteArray(int32 minSize=0, bool littleEndian=true)
Definition: BigNumber.cpp:177
uint32 rand32()
Definition: Random.cpp:64
uint8_t uint8
Definition: Define.h:152
std::string Str
Definition: WardenCheckMgr.h:40
Definition: WardenCheckMgr.h:34
uint32_t uint32
Definition: g3dmath.h:168
uint32 Address
Definition: WardenCheckMgr.h:38
Definition: Opcodes.h:1623
Definition: WorldPacket.h:26