LeviLamina
Loading...
Searching...
No Matches
WaterConfig.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/renderer/EditorRenderingModifiableConfig.h"
7#include "mc/client/renderer/RenderingResourcePackJsonConfig.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
9#include "mc/deps/minecraft_renderer/framebuilder/WaterSurfaceParameters.h"
10#include "mc/deps/puv/Loader.h"
11#include "mc/deps/scripting/runtime/Result_deprecated.h"
12
13// auto generated forward declare list
14// clang-format off
16class HashedString;
19class LocalPlayer;
21class SemVersion;
23namespace Editor::Services { class ClientDataTransferServiceProvider; }
24namespace Puv { class LoadResultAny; }
25namespace cereal { struct ReflectionCtx; }
26namespace mce { class TextureGroup; }
27namespace mce::framebuilder { struct CausticsParameters; }
28// clang-format on
29
31public:
32 // WaterConfig inner types declare
33 // clang-format off
38 // clang-format on
39
40 // WaterConfig inner types define
42 public:
43 // WaterConfigSettingsV0 inner types declare
44 // clang-format off
45 struct WaterSettings;
46 // clang-format on
47
48 // WaterConfigSettingsV0 inner types define
49 struct WaterSettings {
50 public:
51 // WaterSettings inner types declare
52 // clang-format off
53 struct WaterDescription;
54 struct PSY;
55 struct Waves;
56 // clang-format on
57
58 // WaterSettings inner types define
59 struct WaterDescription {
60 public:
61 // member variables
62 // NOLINTBEGIN
63 ::ll::UntypedStorage<8, 32> mUnk69d0de;
64 // NOLINTEND
65
66 public:
67 // prevent constructor by default
68 WaterDescription(WaterDescription const&);
69 WaterDescription();
70
71 public:
72 // member functions
73 // NOLINTBEGIN
74 MCNAPI ::WaterConfig::WaterConfigSettingsV0::WaterSettings::WaterDescription&
76
77 MCNAPI ::WaterConfig::WaterConfigSettingsV0::WaterSettings::WaterDescription&
79
81 // NOLINTEND
82
83 public:
84 // static functions
85 // NOLINTBEGIN
86 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
87 // NOLINTEND
88
89 public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCNAPI void $dtor();
93 // NOLINTEND
94 };
95
96 struct PSY {
97 public:
98 // member variables
99 // NOLINTBEGIN
103 // NOLINTEND
104
105 public:
106 // prevent constructor by default
107 PSY& operator=(PSY const&);
108 PSY(PSY const&);
109 PSY();
110
111 public:
112 // static functions
113 // NOLINTBEGIN
115 // NOLINTEND
116 };
117
118 struct Waves {
119 public:
120 // member variables
121 // NOLINTBEGIN
133 // NOLINTEND
134
135 public:
136 // prevent constructor by default
137 Waves& operator=(Waves const&);
138 Waves(Waves const&);
139 Waves();
140
141 public:
142 // static functions
143 // NOLINTBEGIN
145 // NOLINTEND
146 };
147
148 public:
149 // member variables
150 // NOLINTBEGIN
154 // NOLINTEND
155
156 public:
157 // prevent constructor by default
158 WaterSettings(WaterSettings const&);
159 WaterSettings();
160
161 public:
162 // member functions
163 // NOLINTBEGIN
164 MCNAPI ::WaterConfig::WaterConfigSettingsV0::WaterSettings&
166
167 MCNAPI ::WaterConfig::WaterConfigSettingsV0::WaterSettings&
169 // NOLINTEND
170 };
171
172 public:
173 // member variables
174 // NOLINTBEGIN
177 // NOLINTEND
178
179 public:
180 // prevent constructor by default
181 WaterConfigSettingsV0& operator=(WaterConfigSettingsV0 const&);
182 WaterConfigSettingsV0(WaterConfigSettingsV0 const&);
183 WaterConfigSettingsV0();
184
185 public:
186 // member functions
187 // NOLINTBEGIN
189 // NOLINTEND
190
191 public:
192 // static variables
193 // NOLINTBEGIN
194 MCNAPI static ::SemVersionConstant const& VERSION();
195 // NOLINTEND
196
197 public:
198 // destructor thunk
199 // NOLINTBEGIN
200 MCNAPI void $dtor();
201 // NOLINTEND
202 };
203
204 struct WaterConfigSettingsV1 {
205 public:
206 // WaterConfigSettingsV1 inner types declare
207 // clang-format off
208 struct WaterSurfaceParameters;
209 struct WaterSettings;
210 // clang-format on
211
212 // WaterConfigSettingsV1 inner types define
213 struct WaterSurfaceParameters : public ::mce::framebuilder::WaterSurfaceParameters {
214 public:
215 // member variables
216 // NOLINTBEGIN
218 // NOLINTEND
219
220 public:
221 // prevent constructor by default
222 WaterSurfaceParameters& operator=(WaterSurfaceParameters const&);
223 WaterSurfaceParameters(WaterSurfaceParameters const&);
224 WaterSurfaceParameters();
225 };
226
227 struct WaterSettings {
228 public:
229 // member variables
230 // NOLINTBEGIN
235 // NOLINTEND
236
237 public:
238 // member functions
239 // NOLINTBEGIN
241
243
244 MCNAPI ::WaterConfig::WaterConfigSettingsV1::WaterSettings&
246
247 MCNAPI ::WaterConfig::WaterConfigSettingsV1::WaterSettings&
249 // NOLINTEND
250
251 public:
252 // constructor thunks
253 // NOLINTBEGIN
254 MCNAPI void* $ctor();
255
257 // NOLINTEND
258 };
259
260 public:
261 // member variables
262 // NOLINTBEGIN
265 // NOLINTEND
266
267 public:
268 // prevent constructor by default
269 WaterConfigSettingsV1& operator=(WaterConfigSettingsV1 const&);
270 WaterConfigSettingsV1(WaterConfigSettingsV1 const&);
271 WaterConfigSettingsV1();
272
273 public:
274 // member functions
275 // NOLINTBEGIN
277 // NOLINTEND
278
279 public:
280 // static variables
281 // NOLINTBEGIN
282 MCNAPI static ::SemVersion const& VERSION();
283 // NOLINTEND
284
285 public:
286 // destructor thunk
287 // NOLINTBEGIN
288 MCNAPI void $dtor();
289 // NOLINTEND
290 };
291
292 struct WaterConfigSettingsV2 {
293 public:
294 // WaterConfigSettingsV2 inner types declare
295 // clang-format off
296 struct WaterSettings;
297 // clang-format on
298
299 // WaterConfigSettingsV2 inner types define
300 struct WaterSettings {
301 public:
302 // member variables
303 // NOLINTBEGIN
308 // NOLINTEND
309
310 public:
311 // member functions
312 // NOLINTBEGIN
314
316
318
319 MCNAPI ::WaterConfig::WaterConfigSettingsV2::WaterSettings&
321
322 MCNAPI ::WaterConfig::WaterConfigSettingsV2::WaterSettings&
324 // NOLINTEND
325
326 public:
327 // constructor thunks
328 // NOLINTBEGIN
329 MCNAPI void* $ctor();
330
332
334 // NOLINTEND
335 };
336
337 public:
338 // member variables
339 // NOLINTBEGIN
342 // NOLINTEND
343
344 public:
345 // prevent constructor by default
346 WaterConfigSettingsV2& operator=(WaterConfigSettingsV2 const&);
347 WaterConfigSettingsV2(WaterConfigSettingsV2 const&);
348 WaterConfigSettingsV2();
349
350 public:
351 // member functions
352 // NOLINTBEGIN
354 // NOLINTEND
355
356 public:
357 // static variables
358 // NOLINTBEGIN
359 MCNAPI static ::SemVersion const& VERSION();
360 // NOLINTEND
361
362 public:
363 // destructor thunk
364 // NOLINTBEGIN
365 MCNAPI void $dtor();
366 // NOLINTEND
367 };
368
369 struct WaterConfigSettingsV3 {
370 public:
371 // WaterConfigSettingsV3 inner types declare
372 // clang-format off
373 struct WaterSettings;
374 // clang-format on
375
376 // WaterConfigSettingsV3 inner types define
377 struct WaterSettings : public ::WaterConfig::WaterConfigSettingsV2::WaterSettings {
378 public:
379 // member variables
380 // NOLINTBEGIN
382 // NOLINTEND
383
384 public:
385 // prevent constructor by default
386 WaterSettings& operator=(WaterSettings const&);
389 };
390
391 public:
392 // member variables
393 // NOLINTBEGIN
396 // NOLINTEND
397
398 public:
399 // prevent constructor by default
400 WaterConfigSettingsV3(WaterConfigSettingsV3 const&);
401 WaterConfigSettingsV3();
402
403 public:
404 // member functions
405 // NOLINTBEGIN
406 MCNAPI ::WaterConfig::WaterConfigSettingsV3& operator=(::WaterConfig::WaterConfigSettingsV3 const&);
407
408 MCNAPI ::WaterConfig::WaterConfigSettingsV3& operator=(::WaterConfig::WaterConfigSettingsV3&&);
409
411 // NOLINTEND
412
413 public:
414 // static variables
415 // NOLINTBEGIN
416 MCNAPI static ::SemVersion const& VERSION();
417 // NOLINTEND
418
419 public:
420 // destructor thunk
421 // NOLINTBEGIN
422 MCNAPI void $dtor();
423 // NOLINTEND
424 };
425
426public:
427 // member variables
428 // NOLINTBEGIN
432 // NOLINTEND
433
434public:
435 // prevent constructor by default
436 WaterConfig& operator=(WaterConfig const&);
437 WaterConfig(WaterConfig const&);
438 WaterConfig();
439
440public:
441 // virtual functions
442 // NOLINTBEGIN
443 virtual ~WaterConfig() /*override*/;
444
445 virtual void loadDataSync(
447 ::ResourcePackManager& resourcePackManager,
449 ) /*override*/;
450
451 virtual ::Puv::LoadResultAny loadFromString(
453 ::std::string const& dataJson,
455 ) /*override*/;
456
457 virtual void _setDefaultIdentifierImpl(::HashedString const& defaultIdentifier) /*override*/;
458 // NOLINTEND
459
460public:
461 // member functions
462 // NOLINTBEGIN
463 MCNAPI explicit WaterConfig(::IMinecraftEventing& eventing);
464
466 ::HashedString const& identifier,
467 ::WaterConfig::WaterConfigSettingsV3& inWaterConfigSettings
468 );
469
470 MCNAPI ::WaterConfig::WaterConfigSettingsV3 const& findWaterConfigSettings(::HashedString const& biomeID) const;
471
472 MCNAPI ::mce::framebuilder::CausticsParameters getCausticsParameters() const;
473
474 MCNAPI void loadTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
475
477
478 MCNAPI void unloadTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
479
481 // NOLINTEND
482
483public:
484 // static functions
485 // NOLINTBEGIN
486 MCNAPI static ::Puv::Loader<::WaterConfig::WaterConfigSettingsV3, ::WaterConfig::WaterConfigSettingsV3>
488
489 MCNAPI static ::Scripting::Result_deprecated<void> registerConfigMappingChangeHandler(
491 ::LocalPlayer& localPlayer
492 );
493
494 MCNAPI static ::Scripting::Result_deprecated<void> registerEditorAccessors(
496 ::LocalPlayer& localPlayer,
498 );
499 // NOLINTEND
500
501public:
502 // static variables
503 // NOLINTBEGIN
504 MCNAPI static ::std::string_view const& PAYLOAD_KEY();
505 // NOLINTEND
506
507public:
508 // constructor thunks
509 // NOLINTBEGIN
510 MCNAPI void* $ctor(::IMinecraftEventing& eventing);
511 // NOLINTEND
512
513public:
514 // destructor thunk
515 // NOLINTBEGIN
516 MCNAPI void $dtor();
517 // NOLINTEND
518
519public:
520 // virtual function thunks
521 // NOLINTBEGIN
522 MCNAPI void $loadDataSync(
524 ::ResourcePackManager& resourcePackManager,
526 );
527
528 MCNAPI ::Puv::LoadResultAny $loadFromString(
530 ::std::string const& dataJson,
532 );
533
534 MCNAPI void $_setDefaultIdentifierImpl(::HashedString const& defaultIdentifier);
535 // NOLINTEND
536
537public:
538 // vftables
539 // NOLINTBEGIN
540 MCNAPI static void** $vftable();
541 // NOLINTEND
542};
Definition BedrockLoadContext.h:14
Definition NonOwnerPointer.h:9
Definition EditorRenderingModifiableConfig.h:5
Definition ClientDataTransferServiceProvider.h:7
Definition HashedString.h:5
Definition IMinecraftEventing.h:134
Definition LinkedAssetValidator.h:8
Definition LocalPlayer.h:5
Definition LoadResultAny.h:12
Definition RenderingResourcePackJsonConfig.h:5
Definition ResourcePackManager.h:30
Definition SemVersionConstant.h:8
Definition SemVersion.h:15
Definition WaterConfig.h:5
MCAPI bool validateAndSetCausticsTexture()
MCAPI::WaterConfig::WaterConfigSettingsV3 const & findWaterConfigSettings(::HashedString const &biomeID) const
static MCAPI ::std::string_view const & PAYLOAD_KEY()
MCAPI void * $ctor(::IMinecraftEventing &eventing)
MCAPI void setDefaultWaterSettings(::WaterConfig::WaterConfigSettingsV3 const &inWaterSettings)
MCAPI::mce::framebuilder::CausticsParameters getCausticsParameters() const
MCAPI void unloadTextures(::std::shared_ptr<::mce::TextureGroup > textureGroup)
static MCAPI void ** $vftable()
MCAPI::Puv::LoadResultAny $loadFromString(::cereal::ReflectionCtx const &ctx, ::std::string const &dataJson, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI void loadTextures(::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI WaterConfig(::IMinecraftEventing &eventing)
static MCAPI ::Scripting::Result_deprecated< void > registerConfigMappingChangeHandler(::Editor::Services::ClientDataTransferServiceProvider &dataTransferService, ::LocalPlayer &localPlayer)
MCAPI void $dtor()
static MCAPI ::Scripting::Result_deprecated< void > registerEditorAccessors(::Editor::Services::ClientDataTransferServiceProvider &dataTransferService, ::LocalPlayer &localPlayer, ::cereal::ReflectionCtx const &ctx)
static MCAPI ::Puv::Loader<::WaterConfig::WaterConfigSettingsV3, ::WaterConfig::WaterConfigSettingsV3 > _createLoader(::cereal::ReflectionCtx const &ctx, ::BedrockLoadContext const &context)
MCAPI void $_setDefaultIdentifierImpl(::HashedString const &defaultIdentifier)
MCAPI void $loadDataSync(::cereal::ReflectionCtx const &ctx, ::ResourcePackManager &resourcePackManager, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI bool addNewWaterConfigSetting(::HashedString const &identifier, ::WaterConfig::WaterConfigSettingsV3 &inWaterConfigSettings)
Definition TextureGroup.h:7
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI::WaterConfig::WaterConfigSettingsV0::WaterSettings::WaterDescription & operator=(::WaterConfig::WaterConfigSettingsV0::WaterSettings::WaterDescription &&)
MCAPI::WaterConfig::WaterConfigSettingsV0::WaterSettings::WaterDescription & operator=(::WaterConfig::WaterConfigSettingsV0::WaterSettings::WaterDescription const &)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI::WaterConfig::WaterConfigSettingsV0::WaterSettings & operator=(::WaterConfig::WaterConfigSettingsV0::WaterSettings &&)
MCAPI::WaterConfig::WaterConfigSettingsV0::WaterSettings & operator=(::WaterConfig::WaterConfigSettingsV0::WaterSettings const &)
Definition WaterConfig.h:16
static MCAPI ::SemVersionConstant const & VERSION()
MCAPI::WaterConfig::WaterConfigSettingsV1::WaterSettings & operator=(::WaterConfig::WaterConfigSettingsV1::WaterSettings const &)
MCAPI::WaterConfig::WaterConfigSettingsV1::WaterSettings & operator=(::WaterConfig::WaterConfigSettingsV1::WaterSettings &&)
MCAPI void * $ctor(::WaterConfig::WaterConfigSettingsV1::WaterSettings const &)
MCAPI WaterSettings(::WaterConfig::WaterConfigSettingsV1::WaterSettings const &)
Definition WaterConfig.h:42
static MCAPI ::SemVersion const & VERSION()
MCAPI void * $ctor(::WaterConfig::WaterConfigSettingsV2::WaterSettings const &)
MCAPI WaterSettings(::WaterConfig::WaterConfigSettingsV2::WaterSettings &&)
MCAPI::WaterConfig::WaterConfigSettingsV2::WaterSettings & operator=(::WaterConfig::WaterConfigSettingsV2::WaterSettings &&)
MCAPI WaterSettings(::WaterConfig::WaterConfigSettingsV2::WaterSettings const &)
MCAPI void * $ctor(::WaterConfig::WaterConfigSettingsV2::WaterSettings &&)
MCAPI::WaterConfig::WaterConfigSettingsV2::WaterSettings & operator=(::WaterConfig::WaterConfigSettingsV2::WaterSettings const &)
Definition WaterConfig.h:56
static MCAPI ::SemVersion const & VERSION()
Definition WaterConfig.h:67
MCAPI::WaterConfig::WaterConfigSettingsV3 & operator=(::WaterConfig::WaterConfigSettingsV3 const &)
MCAPI::WaterConfig::WaterConfigSettingsV3 & operator=(::WaterConfig::WaterConfigSettingsV3 &&)
static MCAPI ::SemVersion const & VERSION()
Definition ReflectionCtx.h:11
Definition context.h:5
Definition ctx.h:5
Definition Alias.h:14
Definition CausticsParameters.h:7
Definition WaterSurfaceParameters.h:7