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
13class GameContext {
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
22 struct ItemTypeList {
23 public:
24 // member variables
25 // NOLINTBEGIN
29 // NOLINTEND
30
31 public:
32 // prevent constructor by default
33 ItemTypeList& operator=(ItemTypeList const&);
34 ItemTypeList(ItemTypeList const&);
35 ItemTypeList();
36
37 public:
38 // member functions
39 // NOLINTBEGIN
40 MCNAPI ~ItemTypeList();
41 // NOLINTEND
42
43 public:
44 // destructor thunk
45 // NOLINTBEGIN
46 MCNAPI void $dtor();
47 // NOLINTEND
48 };
49
50 struct ObjectTypeList {
51 public:
52 // member variables
53 // NOLINTBEGIN
57 // NOLINTEND
58
59 public:
60 // prevent constructor by default
61 ObjectTypeList& operator=(ObjectTypeList const&);
62 ObjectTypeList(ObjectTypeList const&);
63 ObjectTypeList();
64
65 public:
66 // member functions
67 // NOLINTBEGIN
69 // NOLINTEND
70
71 public:
72 // destructor thunk
73 // NOLINTBEGIN
74 MCNAPI void $dtor();
75 // NOLINTEND
76 };
77
78public:
79 // member variables
80 // NOLINTBEGIN
86 // NOLINTEND
87
88public:
89 // prevent constructor by default
90 GameContext& operator=(GameContext const&);
91 GameContext(GameContext const&);
92 GameContext();
93
94public:
95 // member functions
96 // NOLINTBEGIN
97 MCNAPI ::Json::Value blocksToJson() const;
98
99 MCNAPI ::Json::Value getFileJson(::std::string const& filePath, ::std::string const& fileContents) const;
100
101 MCNAPI ::Json::Value getFilepathJson(::std::string const& filePath) const;
102
103 MCNAPI ::Json::Value getTutorialJson(::std::string const& tutorialPath) const;
104
105 MCNAPI ::Json::Value itemsToJson() const;
106
107 MCNAPI ::Json::Value mobsToJson() const;
108 // NOLINTEND
109
110public:
111 // static functions
112 // NOLINTBEGIN
113 MCNAPI static ::std::unique_ptr<::CodeBuilder::GameContext> create(::std::function<::ILevel*()> levelGetter);
114 // NOLINTEND
115};
116
117} // namespace CodeBuilder
MCAPI::Json::Value getTutorialJson(::std::string const &tutorialPath) const
MCAPI::Json::Value getFileJson(::std::string const &filePath, ::std::string const &fileContents) const
MCAPI::Json::Value itemsToJson() const
static MCAPI ::std::unique_ptr<::CodeBuilder::GameContext > create(::std::function<::ILevel *()> levelGetter)
MCAPI::Json::Value mobsToJson() const
MCAPI::Json::Value getFilepathJson(::std::string const &filePath) const
MCAPI::Json::Value blocksToJson() const
Definition ILevel.h:221
Definition Value.h:16
Definition GameContext.h:22
Definition GameContext.h:50
Definition Alias.h:14