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
7class ILevel;
8namespace Json { class Value; }
9// clang-format on
10
11namespace CodeBuilder {
12
14public:
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
23 public:
24 // member variables
25 // NOLINTBEGIN
29 // NOLINTEND
30
31 public:
32 // prevent constructor by default
33 ObjectTypeList& operator=(ObjectTypeList const&);
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
57 // NOLINTEND
58
59 public:
60 // prevent constructor by default
61 ItemTypeList& operator=(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
85public:
86 // member variables
87 // NOLINTBEGIN
93 // NOLINTEND
94
95public:
96 // prevent constructor by default
97 GameContext& operator=(GameContext const&);
100
101public:
102 // member functions
103 // NOLINTBEGIN
104 MCAPI GameContext(
105 ::std::unordered_map<::std::string, ::std::vector<::std::string>> mobs,
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
120public:
121 // static functions
122 // NOLINTBEGIN
123 MCAPI static ::std::unique_ptr<::CodeBuilder::GameContext> create(::std::function<::ILevel*()> levelGetter);
124 // NOLINTEND
125
126public:
127 // constructor thunks
128 // NOLINTBEGIN
129 MCAPI void* $ctor(
130 ::std::unordered_map<::std::string, ::std::vector<::std::string>> mobs,
133 ::std::function<::ILevel*()> levelGetter
134 );
135 // NOLINTEND
136
137public:
138 // destructor thunk
139 // NOLINTBEGIN
140 MCAPI void $dtor();
141 // NOLINTEND
142};
143
144} // namespace CodeBuilder
Definition GameContext.h:13
Definition ILevel.h:203
Definition GameContext.h:50
Definition GameContext.h:22
Definition Alias.h:14