TrinityCore
|
#include <WardenWin.h>
Public Member Functions | |
WardenWin () | |
void | Init (WorldSession *session, SessionKey const &K) override |
void | InitializeModuleForClient (ClientWardenModule &module) override |
void | InitializeModule () override |
void | RequestHash () override |
void | HandleHashResult (ByteBuffer &buff) override |
void | RequestChecks () override |
void | HandleCheckResult (ByteBuffer &buff) override |
size_t | DEBUG_ForceSpecificChecks (std::vector< uint16 > const &checks) override |
Public Member Functions inherited from Warden | |
Warden () | |
virtual | ~Warden () |
virtual void | Init (WorldSession *session, SessionKey const &K)=0 |
void | Update (uint32 diff) |
void | HandleData (ByteBuffer &buff) |
bool | ProcessLuaCheckResponse (std::string const &msg) |
virtual size_t | DEBUG_ForceSpecificChecks (std::vector< uint16 > const &checks)=0 |
Private Attributes | |
uint32 | _serverTicks |
std::array< std::pair< std::vector< uint16 >, std::vector< uint16 >::const_iterator >, NUM_CHECK_CATEGORIES > | _checks |
std::vector< uint16 > | _currentChecks |
Additional Inherited Members | |
Protected Member Functions inherited from Warden | |
void | DecryptData (uint8 *buffer, uint32 length) |
void | EncryptData (uint8 *buffer, uint32 length) |
virtual void | InitializeModule ()=0 |
virtual void | RequestHash ()=0 |
virtual void | HandleHashResult (ByteBuffer &buff)=0 |
virtual void | HandleCheckResult (ByteBuffer &buff)=0 |
virtual void | InitializeModuleForClient (ClientWardenModule &module)=0 |
virtual void | RequestChecks ()=0 |
void | MakeModuleForClient () |
void | SendModuleToClient () |
void | RequestModule () |
char const * | ApplyPenalty (WardenCheck const *check) |
Static Protected Member Functions inherited from Warden | |
static bool | IsValidCheckSum (uint32 checksum, const uint8 *data, const uint16 length) |
static uint32 | BuildChecksum (const uint8 *data, uint32 length) |
Protected Attributes inherited from Warden | |
WorldSession * | _session |
std::array< uint8, 16 > | _inputKey = {} |
std::array< uint8, 16 > | _outputKey = {} |
std::array< uint8, 16 > | _seed = {} |
Trinity::Crypto::ARC4 | _inputCrypto |
Trinity::Crypto::ARC4 | _outputCrypto |
uint32 | _checkTimer |
uint32 | _clientResponseTimer |
bool | _dataSent |
Optional< ClientWardenModule > | _module |
bool | _initialized |
Definition at line 65 of file WardenWin.h.
WardenWin::WardenWin | ( | ) |
|
overridevirtual |
Implements Warden.
Definition at line 533 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 378 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 164 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 57 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 90 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 82 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 213 of file WardenWin.cpp.
|
overridevirtual |
Implements Warden.
Definition at line 147 of file WardenWin.cpp.
|
private |
Definition at line 82 of file WardenWin.h.
|
private |
Definition at line 83 of file WardenWin.h.
|
private |
Definition at line 81 of file WardenWin.h.