Files
azerothcore-wotlk/src/server/game/Warden/WardenMac.h
2018-03-12 10:54:57 +01:00

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