LeviLamina
Loading...
Searching...
No Matches
GameContext.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
ILevel
;
8
namespace
Json {
class
Value; }
9
// clang-format on
10
11
namespace
CodeBuilder {
12
13
class
GameContext
{
14
public
:
15
// GameContext inner types declare
16
// clang-format off
17
struct
ItemTypeList
;
18
struct
ObjectTypeList
;
19
// clang-format on
20
21
// GameContext inner types define
22
struct
ObjectTypeList
{
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::UntypedStorage<8, 64>
mUnkc72584;
27
::ll::UntypedStorage<8, 64>
mUnk869a9a;
28
::ll::UntypedStorage<8, 24>
mUnk3238f1;
29
// NOLINTEND
30
31
public
:
32
// prevent constructor by default
33
ObjectTypeList
& operator=(
ObjectTypeList
const
&);
34
ObjectTypeList
(
ObjectTypeList
const
&);
35
ObjectTypeList
();
36
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI
~ObjectTypeList
();
41
// NOLINTEND
42
43
public
:
44
// destructor thunk
45
// NOLINTBEGIN
46
MCFOLD
void
$dtor();
47
// NOLINTEND
48
};
49
50
struct
ItemTypeList
{
51
public
:
52
// member variables
53
// NOLINTBEGIN
54
::ll::UntypedStorage<8, 64>
mUnk6179fa;
55
::ll::UntypedStorage<8, 64>
mUnk67c992;
56
::ll::UntypedStorage<8, 24>
mUnk5c3794;
57
// NOLINTEND
58
59
public
:
60
// prevent constructor by default
61
ItemTypeList
& operator=(
ItemTypeList
const
&);
62
ItemTypeList
(
ItemTypeList
const
&);
63
64
public
:
65
// member functions
66
// NOLINTBEGIN
67
MCAPI
ItemTypeList
();
68
69
MCAPI
~ItemTypeList
();
70
// NOLINTEND
71
72
public
:
73
// constructor thunks
74
// NOLINTBEGIN
75
MCAPI
void
* $ctor();
76
// NOLINTEND
77
78
public
:
79
// destructor thunk
80
// NOLINTBEGIN
81
MCFOLD
void
$dtor();
82
// NOLINTEND
83
};
84
85
public
:
86
// member variables
87
// NOLINTBEGIN
88
::ll::UntypedStorage<8, 64>
mUnkb2c00b;
89
::ll::UntypedStorage<8, 152>
mUnk55791e;
90
::ll::UntypedStorage<8, 152>
mUnka2ed89;
91
::ll::UntypedStorage<8, 64>
mUnk8ef71e;
92
::ll::UntypedStorage<8, 64>
mUnk876113;
93
// NOLINTEND
94
95
public
:
96
// prevent constructor by default
97
GameContext
& operator=(
GameContext
const
&);
98
GameContext
(
GameContext
const
&);
99
GameContext
();
100
101
public
:
102
// member functions
103
// NOLINTBEGIN
104
MCAPI
GameContext
(
105
::std::unordered_map<::std::string, ::std::vector<::std::string>> mobs,
106
::CodeBuilder::GameContext::ObjectTypeList
blocks,
107
::CodeBuilder::GameContext::ItemTypeList
items,
108
::std::function<
::ILevel
*()> levelGetter
109
);
110
111
MCAPI ::Json::Value blocksToJson()
const
;
112
113
MCAPI ::Json::Value itemsToJson()
const
;
114
115
MCAPI ::Json::Value mobsToJson()
const
;
116
117
MCAPI
~GameContext
();
118
// NOLINTEND
119
120
public
:
121
// static functions
122
// NOLINTBEGIN
123
MCAPI static ::std::unique_ptr<::CodeBuilder::GameContext> create(::std::function<
::ILevel
*()> levelGetter);
124
// NOLINTEND
125
126
public
:
127
// constructor thunks
128
// NOLINTBEGIN
129
MCAPI
void
* $ctor(
130
::std::unordered_map<::std::string, ::std::vector<::std::string>> mobs,
131
::CodeBuilder::GameContext::ObjectTypeList
blocks,
132
::CodeBuilder::GameContext::ItemTypeList
items,
133
::std::function<
::ILevel
*()> levelGetter
134
);
135
// NOLINTEND
136
137
public
:
138
// destructor thunk
139
// NOLINTBEGIN
140
MCAPI
void
$dtor();
141
// NOLINTEND
142
};
143
144
}
// namespace CodeBuilder
CodeBuilder::GameContext
Definition
GameContext.h:13
ILevel
Definition
ILevel.h:203
CodeBuilder::GameContext::ItemTypeList
Definition
GameContext.h:50
CodeBuilder::GameContext::ObjectTypeList
Definition
GameContext.h:22
ll::UntypedStorage
Definition
Alias.h:14
src
mc
codebuilder
GameContext.h
Generated on Sat Apr 26 2025 05:55:23 for LeviLamina by
1.12.0