mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-28 16:16:27 +00:00
35 lines
901 B
C++
35 lines
901 B
C++
/*
|
|
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license: https://github.com/azerothcore/azerothcore-wotlk/blob/master/LICENSE-GPL2
|
|
* Copyright (C) 2008-2016 TrinityCore <http://www.trinitycore.org/>
|
|
* Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
|
|
*/
|
|
|
|
#ifndef _WARDEN_MAC_H
|
|
#define _WARDEN_MAC_H
|
|
|
|
#include "Cryptography/ARC4.h"
|
|
#include <map>
|
|
#include "Cryptography/BigNumber.h"
|
|
#include "ByteBuffer.h"
|
|
#include "Warden.h"
|
|
|
|
class WorldSession;
|
|
class Warden;
|
|
|
|
class WardenMac : public Warden
|
|
{
|
|
public:
|
|
WardenMac();
|
|
~WardenMac();
|
|
|
|
void Init(WorldSession* session, BigNumber* k);
|
|
ClientWardenModule* GetModuleForClient();
|
|
void InitializeModule();
|
|
void RequestHash();
|
|
void HandleHashResult(ByteBuffer& buff);
|
|
void RequestData();
|
|
void HandleData(ByteBuffer& buff);
|
|
};
|
|
|
|
#endif
|