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
84 MCAPI JigsawStructureLoader(
87 );
88
89 MCAPI bool _parseJigsawDefinitionData(
90 ::std::string_view fileWithExtension,
91 ::std::string&& fileData,
93 );
94
95 MCAPI bool _parseProcessorsData(
96 ::std::string_view fileWithExtension,
97 ::std::string&& fileData,
99 );
100
101 MCAPI bool _parseStructureSetData(
102 ::std::string_view fileWithExtension,
103 ::std::string&& fileData,
105 );
106
107 MCAPI bool _parseTemplatePoolsData(
108 ::std::string_view fileWithExtension,
109 ::std::string&& fileData,
111 );
112
113 MCAPI void loadJigsawStructureData(::ResourcePackManager& resourcePackManager, ::IMinecraftEventing& eventing);
114 // NOLINTEND
115
116public:
117 // constructor thunks
118 // NOLINTBEGIN
120 // NOLINTEND
121
122public:
123 // destructor thunk
124 // NOLINTBEGIN
125 MCAPI void $dtor();
126 // NOLINTEND
127
128public:
129 // vftables
130 // NOLINTBEGIN
131 MCNAPI static void** $vftable();
132 // NOLINTEND
133};
Definition BedrockLoadContext.h:5
Definition EnableNonOwnerReferences.h:7
Definition NonOwnerPointer.h:9
Definition IMinecraftEventing.h:147
static MCAPI void ** $vftable()
Definition LinkedAssetValidator.h:8
Definition _HeaderOutputPredefine.h:398
Definition ResourcePackManager.h:36
Definition TelemetryEventData.h:12
Definition JigsawStructureData.h:16
Definition ReflectionCtx.h:11
Definition ctx.h:5