Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
WardenMac.h
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6#ifndef SF_WARDEN_MAC_H
7#define SF_WARDEN_MAC_H
8
9#include "ByteBuffer.h"
10#include "Cryptography/ARC4.h"
11#include "Warden.h"
12#include <map>
13
14class WorldSession;
15class Warden;
16
17class WardenMac : public Warden
18{
19public:
20 WardenMac();
21 ~WardenMac();
22
23 void Init(WorldSession* session, SessionKey const& k);
25 void InitializeModule();
26 void RequestHash();
27 void HandleHashResult(ByteBuffer& buff);
28 void RequestData();
29 void HandleData(ByteBuffer& buff);
30};
31
32#endif
std::array< uint8, SESSION_KEY_LENGTH > SessionKey
Definition AuthDefines.h:8
Warden()
Definition Warden.cpp:20
void RequestData()
void RequestHash()
Definition WardenMac.cpp:84
void HandleData(ByteBuffer &buff)
void HandleHashResult(ByteBuffer &buff)
void Init(WorldSession *session, SessionKey const &k)
Definition WardenMac.cpp:24
void InitializeModule()
Definition WardenMac.cpp:79
ClientWardenModule * GetModuleForClient()
Definition WardenMac.cpp:57
Player session in the World.