19 #ifndef _WARDEN_BASE_H
20 #define _WARDEN_BASE_H
uint8 ModuleId[16]
Definition: Warden.h:65
Definition: BigNumber.h:28
uint32 _clientResponseTimer
Definition: Warden.h:132
Definition: ByteBuffer.h:70
uint32 _previousTimestamp
Definition: Warden.h:134
Warden()
Definition: Warden.cpp:33
ClientWardenModule * _module
Definition: Warden.h:135
uint8 Id[16]
Definition: Warden.h:87
void HandleData(ByteBuffer &buff) override
Definition: WardenMac.cpp:216
uint32 CompressedSize
Definition: Warden.h:89
void InitializeModule() override
Definition: WardenMac.cpp:93
uint8 Key[16]
Definition: Warden.h:88
arena_t NULL
Definition: jemalloc_internal.h:624
std::string Penalty(WardenCheck *check=NULL)
Definition: Warden.cpp:184
uint8 Seed[16]
Definition: Warden.h:80
bool _dataSent
Definition: Warden.h:133
uint8 Command
Definition: Warden.h:72
uint8 _seed[16]
Definition: Warden.h:128
uint8 ModuleKey[16]
Definition: Warden.h:66
static uint32 BuildChecksum(const uint8 *data, uint32 length)
Definition: Warden.cpp:173
ClientWardenModule * GetModuleForClient() override
Definition: WardenMac.cpp:72
Definition: WardenMac.h:31
void RequestHash() override
Definition: WardenMac.cpp:98
uint8 Command
Definition: Warden.h:64
void Init(WorldSession *session, BigNumber *k) override
Definition: WardenMac.cpp:39
uint8 * CompressedData
Definition: Warden.h:90
WardenCheckType
Definition: Warden.h:47
void DecryptData(uint8 *buffer, uint32 length)
Definition: Warden.cpp:132
WardenOpcodes
Definition: Warden.h:28
uint32 Size
Definition: Warden.h:67
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 RequestModule()
Definition: Warden.cpp:75
uint8 _outputKey[16]
Definition: Warden.h:127
void SendModuleToClient()
Definition: Warden.cpp:49
float length(float v)
Definition: vectorMath.h:208
ARC4 _outputCrypto
Definition: Warden.h:130
ARC4 _inputCrypto
Definition: Warden.h:129
uint8 Command
Definition: Warden.h:79
Definition: WardenWin.h:65
uint8 _inputKey[16]
Definition: Warden.h:126
bool _initialized
Definition: Warden.h:136
#define TC_GAME_API
Definition: Define.h:134
uint8_t uint8
Definition: Define.h:152
static bool IsValidCheckSum(uint32 checksum, const uint8 *data, const uint16 length)
Definition: Warden.cpp:142
uint32 _checkTimer
Definition: Warden.h:131
uint16 DataSize
Definition: Warden.h:73
Definition: WardenCheckMgr.h:34
Player session in the World.
Definition: WorldSession.h:882
T check(T value)
Definition: format.h:305
virtual ~Warden()
Definition: Warden.cpp:41
void RequestData() override
Definition: WardenMac.cpp:192
void HandleHashResult(ByteBuffer &buff) override
Definition: WardenMac.cpp:130
Data
Definition: molten_core.h:69
void Update(uint32 diff)
Definition: WeatherMgr.cpp:150