mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 17:43:47 +00:00
feat(Core/Warden): Allow sending of custom lua payloads through Warden. (#14723)
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "WorldSession.h"
|
||||
|
||||
Warden::Warden() : _session(nullptr), _checkTimer(10000/*10 sec*/), _clientResponseTimer(0),
|
||||
_dataSent(false), _module(nullptr), _initialized(false)
|
||||
_dataSent(false), _module(nullptr), _initialized(false), _interrupted(false), _checkInProgress(false)
|
||||
{
|
||||
memset(_inputKey, 0, sizeof(_inputKey));
|
||||
memset(_outputKey, 0, sizeof(_outputKey));
|
||||
@@ -305,6 +305,11 @@ bool Warden::ProcessLuaCheckResponse(std::string const& msg)
|
||||
return true;
|
||||
}
|
||||
|
||||
WardenPayloadMgr* Warden::GetPayloadMgr()
|
||||
{
|
||||
return &_payloadMgr;
|
||||
}
|
||||
|
||||
void WorldSession::HandleWardenDataOpcode(WorldPacket& recvData)
|
||||
{
|
||||
if (!_warden || recvData.empty())
|
||||
|
||||
Reference in New Issue
Block a user