Cyrus Mod Loader
Loading...
Searching...
No Matches
TournamentTemplate.h
1#pragma once
2#include <Cyrus/Shared.h>
3#include <Cyrus/Classes/CoreTemplate.h>
4#include <Cyrus/Classes/Ladder.h>
5#include <Cyrus/Classes/MatchActor.h>
6#include <Cyrus/Classes/PropertyClass.h>
7
9public:
10 std::string getTournamentName() { // Property Generated Getter
11 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x70);
12 }
13
14 void setTournamentName(std::string val) { // Property Generated Setter
15 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0x70) = val;
16 }
17
18 List<std::string> getAllowedMatches() { // Property Generated Getter
19 return *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0x98);
20 }
21
22 void setAllowedMatches(List<std::string> val) { // Property Generated Setter
23 *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0x98) = val;
24 }
25
26 bool getUpdateLadder() { // Property Generated Getter
27 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xD1);
28 }
29
30 void setUpdateLadder(bool val) { // Property Generated Setter
31 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xD1) = val;
32 }
33
34 bool getUseEloBehavior() { // Property Generated Getter
35 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xD2);
36 }
37
38 void setUseEloBehavior(bool val) { // Property Generated Setter
39 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xD2) = val;
40 }
41
42 std::string getLadderTable() { // Property Generated Getter
43 return *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xD8);
44 }
45
46 void setLadderTable(std::string val) { // Property Generated Setter
47 *reinterpret_cast<std::string*>(reinterpret_cast<uintptr_t>(this) + 0xD8) = val;
48 }
49
50 SharedPointer<MatchActor> * getMatchActor() { // Property Generated Getter
51 return reinterpret_cast<SharedPointer<MatchActor> *>(reinterpret_cast<uintptr_t>(this) + 0x60);
52 }
53
54 void setMatchActor(SharedPointer<MatchActor> * val) { // Property Generated Setter
55 *reinterpret_cast<SharedPointer<MatchActor> **>(reinterpret_cast<uintptr_t>(this) + 0x60) = val;
56 }
57
58 bool getBPremium() { // Property Generated Getter
59 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xD0);
60 }
61
62 void setBPremium(bool val) { // Property Generated Setter
63 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0xD0) = val;
64 }
65
66 SharedPointer<Ladder> * getDefaultLadder() { // Property Generated Getter
67 return reinterpret_cast<SharedPointer<Ladder> *>(reinterpret_cast<uintptr_t>(this) + 0xF8);
68 }
69
70 void setDefaultLadder(SharedPointer<Ladder> * val) { // Property Generated Setter
71 *reinterpret_cast<SharedPointer<Ladder> **>(reinterpret_cast<uintptr_t>(this) + 0xF8) = val;
72 }
73
74 bool getIsBracketTournament() { // Property Generated Getter
75 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x109);
76 }
77
78 void setIsBracketTournament(bool val) { // Property Generated Setter
79 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x109) = val;
80 }
81
82 bool getPersisted() { // Property Generated Getter
83 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x10A);
84 }
85
86 void setPersisted(bool val) { // Property Generated Setter
87 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x10A) = val;
88 }
89
90 bool getPenalizeMatchDeclines() { // Property Generated Getter
91 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x10B);
92 }
93
94 void setPenalizeMatchDeclines(bool val) { // Property Generated Setter
95 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x10B) = val;
96 }
97
98 bool getHidePlayerInfo() { // Property Generated Getter
99 return *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x10C);
100 }
101
102 void setHidePlayerInfo(bool val) { // Property Generated Setter
103 *reinterpret_cast<bool*>(reinterpret_cast<uintptr_t>(this) + 0x10C) = val;
104 }
105
106 List<std::string> getPvpDuelModifiers() { // Property Generated Getter
107 return *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0x110);
108 }
109
110 void setPvpDuelModifiers(List<std::string> val) { // Property Generated Setter
111 *reinterpret_cast<List<std::string>*>(reinterpret_cast<uintptr_t>(this) + 0x110) = val;
112 }
113
114};
Definition CoreTemplate.h:16
Definition TournamentTemplate.h:8
SharedPointer< Ladder > * getDefaultLadder()
Definition TournamentTemplate.h:66
void setPersisted(bool val)
Definition TournamentTemplate.h:86
bool getHidePlayerInfo()
Definition TournamentTemplate.h:98
void setUpdateLadder(bool val)
Definition TournamentTemplate.h:30
std::string getTournamentName()
Definition TournamentTemplate.h:10
std::string getLadderTable()
Definition TournamentTemplate.h:42
List< std::string > getAllowedMatches()
Definition TournamentTemplate.h:18
void setAllowedMatches(List< std::string > val)
Definition TournamentTemplate.h:22
SharedPointer< MatchActor > * getMatchActor()
Definition TournamentTemplate.h:50
bool getPersisted()
Definition TournamentTemplate.h:82
bool getBPremium()
Definition TournamentTemplate.h:58
void setPvpDuelModifiers(List< std::string > val)
Definition TournamentTemplate.h:110
void setTournamentName(std::string val)
Definition TournamentTemplate.h:14
void setPenalizeMatchDeclines(bool val)
Definition TournamentTemplate.h:94
List< std::string > getPvpDuelModifiers()
Definition TournamentTemplate.h:106
bool getIsBracketTournament()
Definition TournamentTemplate.h:74
bool getPenalizeMatchDeclines()
Definition TournamentTemplate.h:90
void setUseEloBehavior(bool val)
Definition TournamentTemplate.h:38
void setMatchActor(SharedPointer< MatchActor > *val)
Definition TournamentTemplate.h:54
void setHidePlayerInfo(bool val)
Definition TournamentTemplate.h:102
void setBPremium(bool val)
Definition TournamentTemplate.h:62
bool getUpdateLadder()
Definition TournamentTemplate.h:26
void setIsBracketTournament(bool val)
Definition TournamentTemplate.h:78
void setLadderTable(std::string val)
Definition TournamentTemplate.h:46
bool getUseEloBehavior()
Definition TournamentTemplate.h:34
void setDefaultLadder(SharedPointer< Ladder > *val)
Definition TournamentTemplate.h:70