Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
JigsawStructureLoader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
15namespace PuvLoadData { struct TelemetryEventData; }
16namespace SharedTypes::v1_21_20 { struct JigsawStructureData; }
17namespace SharedTypes::v1_21_20::JigsawStructureDefinition { struct Contents; }
18namespace SharedTypes::v1_21_20::JigsawStructureProcessorList { struct Contents; }
19namespace SharedTypes::v1_21_20::JigsawStructureSet { struct Contents; }
20namespace SharedTypes::v1_21_20::JigsawStructureTemplatePool { struct Contents; }
21namespace cereal { struct ReflectionCtx; }
22// clang-format on
23
24class JigsawStructureLoader : public ::Bedrock::EnableNonOwnerReferences {
25public:
26 // member variables
27 // NOLINTBEGIN
28 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SharedTypes::v1_21_20::JigsawStructureData>> mJigsawStructureData;
29 ::ll::TypedStorage<
30 8,
31 264,
35 nullptr_t,
36 nullptr_t,
38 mProcessorListLoader;
39 ::ll::TypedStorage<
40 8,
41 264,
45 nullptr_t,
46 nullptr_t,
48 mTemplatePoolLoader;
49 ::ll::TypedStorage<
50 8,
51 264,
55 nullptr_t,
56 nullptr_t,
58 mJigsawDefinitionLoader;
59 ::ll::TypedStorage<
60 8,
61 264,
65 nullptr_t,
66 nullptr_t,
68 mJigsawSetLoader;
69 // NOLINTEND
70
71public:
72 // prevent constructor by default
73 JigsawStructureLoader();
74
75public:
76 // virtual functions
77 // NOLINTBEGIN
78 virtual ~JigsawStructureLoader() /*override*/;
79 // NOLINTEND
80
81public:
82 // member functions
83 // NOLINTBEGIN
87 );
88
89#ifdef LL_PLAT_S
90 MCNAPI bool _parseJigsawDefinitionData(
91 ::std::string_view fileWithExtension,
92 ::std::string&& fileData,
94 );
95#endif
96
97#ifdef LL_PLAT_C
98 MCNAPI bool _parseJigsawDefinitionData(
99 ::std::string_view fileWithExtension,
100 ::std::string&& fileData,
102 );
103#endif
104
105#ifdef LL_PLAT_S
106 MCNAPI bool _parseProcessorsData(
107 ::std::string_view fileWithExtension,
108 ::std::string&& fileData,
110 );
111#endif
112
113#ifdef LL_PLAT_C
114 MCNAPI bool _parseProcessorsData(
115 ::std::string_view fileWithExtension,
116 ::std::string&& fileData,
118 );
119#endif
120
121#ifdef LL_PLAT_S
122 MCNAPI bool _parseStructureSetData(
123 ::std::string_view fileWithExtension,
124 ::std::string&& fileData,
126 );
127#endif
128
129#ifdef LL_PLAT_C
130 MCNAPI bool _parseStructureSetData(
131 ::std::string_view fileWithExtension,
132 ::std::string&& fileData,
134 );
135#endif
136
137#ifdef LL_PLAT_S
138 MCNAPI bool _parseTemplatePoolsData(
139 ::std::string_view fileWithExtension,
140 ::std::string&& fileData,
142 );
143#endif
144
145#ifdef LL_PLAT_C
146 MCNAPI bool _parseTemplatePoolsData(
147 ::std::string_view fileWithExtension,
148 ::std::string&& fileData,
150 );
151#endif
152
153 MCNAPI void loadJigsawStructureData(::ResourcePackManager& resourcePackManager, ::IMinecraftEventing& eventing);
154 // NOLINTEND
155
156public:
157 // constructor thunks
158 // NOLINTBEGIN
159 MCNAPI void*
161 // NOLINTEND
162
163public:
164 // destructor thunk
165 // NOLINTBEGIN
166 MCNAPI void $dtor();
167 // NOLINTEND
168
169public:
170 // vftables
171 // NOLINTBEGIN
172 MCNAPI static void** $vftable();
173 // NOLINTEND
174};
Definition BedrockLoadContext.h:15
Definition EnableNonOwnerReferences.h:7
Definition NonOwnerPointer.h:9
Definition IMinecraftEventing.h:152
MCAPI void loadJigsawStructureData(::ResourcePackManager &resourcePackManager, ::IMinecraftEventing &eventing)
MCAPI void * $ctor(::cereal::ReflectionCtx const &ctx, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI JigsawStructureLoader(::cereal::ReflectionCtx const &ctx, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
static MCAPI void ** $vftable()
Definition LinkedAssetValidator.h:9
Definition _HeaderOutputPredefine.h:407
Definition ResourcePackManager.h:29
Definition TelemetryEventData.h:12
Definition JigsawStructureData.h:16
Definition ReflectionCtx.h:11
Definition ctx.h:5