Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
WardenWin.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_WIN_H
7#define SF_WARDEN_WIN_H
8
9#include "ByteBuffer.h"
10#include "Cryptography/ARC4.h"
12#include "Warden.h"
13#include <map>
14
15#if defined(__GNUC__)
16#pragma pack(1)
17#else
18#pragma pack(push, 1)
19#endif
20
50
51#if defined(__GNUC__)
52#pragma pack()
53#else
54#pragma pack(pop)
55#endif
56
57class WorldSession;
58class Warden;
59
60class WardenWin : public Warden
61{
62public:
63 WardenWin();
64 ~WardenWin();
65
66 void Init(WorldSession* session, SessionKey const& K);
68 void InitializeModule();
69 void RequestHash();
70 void HandleHashResult(ByteBuffer& buff);
71 void RequestData();
72 void HandleData(ByteBuffer& buff);
73
74private:
76 std::list<uint16> _otherChecksTodo;
77 std::list<uint16> _memChecksTodo;
78 std::list<uint16> _currentChecks;
79};
80
81#endif
std::array< uint8, SESSION_KEY_LENGTH > SessionKey
Definition AuthDefines.h:8
std::uint8_t uint8
Definition Define.h:79
std::uint32_t uint32
Definition Define.h:77
std::uint16_t uint16
Definition Define.h:78
Warden()
Definition Warden.cpp:20
void RequestHash()
void HandleHashResult(ByteBuffer &buff)
void RequestData()
void HandleData(ByteBuffer &buff)
std::list< uint16 > _memChecksTodo
Definition WardenWin.h:77
void Init(WorldSession *session, SessionKey const &K)
Definition WardenWin.cpp:30
ClientWardenModule * GetModuleForClient()
Definition WardenWin.cpp:55
uint32 _serverTicks
Definition WardenWin.h:75
std::list< uint16 > _otherChecksTodo
Definition WardenWin.h:76
void InitializeModule()
Definition WardenWin.cpp:74
std::list< uint16 > _currentChecks
Definition WardenWin.h:78
Player session in the World.