-
Notifications
You must be signed in to change notification settings - Fork 1
/
Match.h
54 lines (37 loc) · 882 Bytes
/
Match.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#pragma once
#include "sdk.h"
#include "NeoPlayer.h"
#include "FortPlaylistAthena.h"
inline std::vector<std::wstring> gWeapons;
inline std::vector<std::wstring> gBlueprints;
inline std::vector<std::wstring> gMeshes;
inline InternalUObject* gPlaylist;
enum class EMatchState : uint8_t {
InLobby,
Loading,
InMatch
};
class Match
{
public:
bool bIsInit;
bool bIsStarted;
bool bIsPlayerInit;
bool bHasJumped;
bool bHasShowedPickaxe;
bool bWantsToJump;
bool bWantsToSkydive;
bool bWantsToOpenGlider;
bool bWantsToShowPickaxe;
EMatchState MatchState = EMatchState::InLobby;
NeoPlayerClass NeoPlayer;
void Start(const wchar_t* MapToPlayOn);
void Stop();
void LoadMoreClasses();
void InitCombos();
// because CreaThread needs a static entry point
static DWORD ThreadEntry(LPVOID* param);
void Thread();
void Init();
};
inline Match GMatch = Match();