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/script_core/runtime/scripting/Result_deprecated.h"
10
11// auto generated forward declare list
12// clang-format off
13class HashedString;
16class LocalPlayer;
18class SemVersion;
20namespace Editor::Services { class ClientDataTransferServiceProvider; }
21namespace Puv { class LoadResultAny; }
22namespace cereal { struct ReflectionCtx; }
23namespace dragon::framerenderer::modules::water { struct WaterParameters; }
24namespace mce { class TextureGroup; }
25namespace mce::framebuilder { struct CausticsParameters; }
26namespace mce::framebuilder { struct WaterSurfaceParameters; }
27// clang-format on
28
30public:
31 // WaterConfig inner types declare
32 // clang-format off
38 struct CausticsTexture;
39 // clang-format on
40
41 // WaterConfig inner types define
43 public:
44 // WaterConfigSettingsV0 inner types declare
45 // clang-format off
46 struct WaterSettings;
47 // clang-format on
48
49 // WaterConfigSettingsV0 inner types define
50 struct WaterSettings {
51 public:
52 // WaterSettings inner types declare
53 // clang-format off
54 struct WaterDescription;
55 struct PSY;
56 struct Waves;
57 // clang-format on
58
59 // WaterSettings inner types define
60 struct WaterDescription {
61 public:
62 // member variables
63 // NOLINTBEGIN
64 ::ll::UntypedStorage<8, 32> mUnk69d0de;
65 // NOLINTEND
66
67 public:
68 // prevent constructor by default
69 WaterDescription& operator=(WaterDescription const&);
70 WaterDescription(WaterDescription const&);
71 WaterDescription();
72
73 public:
74 // member functions
75 // NOLINTBEGIN
77 // NOLINTEND
78
79 public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCNAPI void $dtor();
83 // NOLINTEND
84 };
85
86 struct PSY {
87 public:
88 // member variables
89 // NOLINTBEGIN
93 // NOLINTEND
94
95 public:
96 // prevent constructor by default
97 PSY& operator=(PSY const&);
98 PSY(PSY const&);
99 PSY();
100 };
101
102 struct Waves {
103 public:
104 // member variables
105 // NOLINTBEGIN
117 // NOLINTEND
118
119 public:
120 // prevent constructor by default
121 Waves& operator=(Waves const&);
122 Waves(Waves const&);
123 Waves();
124 };
125
126 public:
127 // member variables
128 // NOLINTBEGIN
132 // NOLINTEND
133
134 public:
135 // prevent constructor by default
136 WaterSettings& operator=(WaterSettings const&);
137 WaterSettings(WaterSettings const&);
138 WaterSettings();
139 };
140
141 public:
142 // member variables
143 // NOLINTBEGIN
146 // NOLINTEND
147
148 public:
149 // prevent constructor by default
150 WaterConfigSettingsV0& operator=(WaterConfigSettingsV0 const&);
151 WaterConfigSettingsV0(WaterConfigSettingsV0 const&);
152 WaterConfigSettingsV0();
153
154 public:
155 // static variables
156 // NOLINTBEGIN
157 MCNAPI static ::SemVersionConstant const& VERSION();
158 // NOLINTEND
159 };
160
161 struct WaterConfigSettingsV1 {
162 public:
163 // WaterConfigSettingsV1 inner types declare
164 // clang-format off
165 struct WaterSurfaceParametersBase;
166 struct WaterSurfaceParameters;
167 struct WaterSettings;
168 // clang-format on
169
170 // WaterConfigSettingsV1 inner types define
171 struct WaterSurfaceParametersBase {
172 public:
173 // member variables
174 // NOLINTBEGIN
186 // NOLINTEND
187
188 public:
189 // prevent constructor by default
190 WaterSurfaceParametersBase& operator=(WaterSurfaceParametersBase const&);
191 WaterSurfaceParametersBase(WaterSurfaceParametersBase const&);
192 WaterSurfaceParametersBase();
193 };
194
195 struct WaterSurfaceParameters : public ::WaterConfig::WaterConfigSettingsV1::WaterSurfaceParametersBase {
196 public:
197 // member variables
198 // NOLINTBEGIN
200 // NOLINTEND
201
202 public:
203 // prevent constructor by default
204 WaterSurfaceParameters& operator=(WaterSurfaceParameters const&);
205 WaterSurfaceParameters(WaterSurfaceParameters const&);
206 WaterSurfaceParameters();
207 };
208
209 struct WaterSettings {
210 public:
211 // WaterSettings inner types declare
212 // clang-format off
213 struct CausticsParameters;
214 // clang-format on
215
216 // WaterSettings inner types define
217 struct CausticsParameters {
218 public:
219 // member variables
220 // NOLINTBEGIN
221 ::ll::UntypedStorage<8, 40> mUnk4d3d5f;
222 ::ll::UntypedStorage<4, 8> mUnk1e3838;
223 ::ll::UntypedStorage<4, 8> mUnk456a47;
224 ::ll::UntypedStorage<4, 8> mUnk2d0aba;
225 ::ll::UntypedStorage<1, 2> mUnke14f68;
226 // NOLINTEND
227
228 public:
229 // prevent constructor by default
230 CausticsParameters& operator=(CausticsParameters const&);
231 CausticsParameters(CausticsParameters const&);
232 CausticsParameters();
233 };
234
235 public:
236 // member variables
237 // NOLINTBEGIN
238 ::ll::UntypedStorage<8, 40> mUnk69e561;
239 ::ll::UntypedStorage<4, 28> mUnk2479ad;
240 ::ll::UntypedStorage<8, 80> mUnkd2f9bc;
241 ::ll::UntypedStorage<4, 96> mUnk535895;
242 // NOLINTEND
243
244 public:
245 // prevent constructor by default
246 WaterSettings& operator=(WaterSettings const&);
247 WaterSettings(WaterSettings const&);
248 WaterSettings();
249 };
250
251 public:
252 // member variables
253 // NOLINTBEGIN
254 ::ll::UntypedStorage<8, 32> mUnk290fa3;
255 ::ll::UntypedStorage<8, 256> mUnk5d3758;
256 // NOLINTEND
257
258 public:
259 // prevent constructor by default
260 WaterConfigSettingsV1& operator=(WaterConfigSettingsV1 const&);
261 WaterConfigSettingsV1(WaterConfigSettingsV1 const&);
262 WaterConfigSettingsV1();
263
264 public:
265 // static variables
266 // NOLINTBEGIN
267 MCNAPI static ::SemVersion const& VERSION();
268 // NOLINTEND
269 };
270
271 struct WaterConfigSettingsV2 {
272 public:
273 // WaterConfigSettingsV2 inner types declare
274 // clang-format off
275 struct WaterSurfaceParameters;
276 struct WaterSettings;
277 // clang-format on
278
279 // WaterConfigSettingsV2 inner types define
280 struct WaterSurfaceParameters : public ::WaterConfig::WaterConfigSettingsV1::WaterSurfaceParametersBase {};
281
282 struct WaterSettings {
283 public:
284 // member variables
285 // NOLINTBEGIN
290 // NOLINTEND
291
292 public:
293 // prevent constructor by default
294 WaterSettings& operator=(WaterSettings const&);
295 WaterSettings(WaterSettings const&);
296 WaterSettings();
297 };
298
299 public:
300 // member variables
301 // NOLINTBEGIN
302 ::ll::UntypedStorage<8, 32> mUnk99ad3b;
303 ::ll::UntypedStorage<8, 248> mUnk6b116a;
304 // NOLINTEND
305
306 public:
307 // prevent constructor by default
308 WaterConfigSettingsV2& operator=(WaterConfigSettingsV2 const&);
309 WaterConfigSettingsV2(WaterConfigSettingsV2 const&);
310 WaterConfigSettingsV2();
311
312 public:
313 // static variables
314 // NOLINTBEGIN
315 MCNAPI static ::SemVersion const& VERSION();
316 // NOLINTEND
317 };
318
319 struct WaterConfigSettingsV3 {
320 public:
321 // WaterConfigSettingsV3 inner types declare
322 // clang-format off
323 struct WaterSettings;
324 // clang-format on
325
326 // WaterConfigSettingsV3 inner types define
327 struct WaterSettings : public ::WaterConfig::WaterConfigSettingsV2::WaterSettings {
328 public:
329 // member variables
330 // NOLINTBEGIN
332 // NOLINTEND
333
334 public:
335 // prevent constructor by default
336 WaterSettings& operator=(WaterSettings const&);
337 WaterSettings(WaterSettings const&);
338 WaterSettings();
339 };
340
341 public:
342 // member variables
343 // NOLINTBEGIN
346 // NOLINTEND
347
348 public:
349 // prevent constructor by default
350 WaterConfigSettingsV3& operator=(WaterConfigSettingsV3 const&);
351 WaterConfigSettingsV3(WaterConfigSettingsV3 const&);
352 WaterConfigSettingsV3();
353
354 public:
355 // static variables
356 // NOLINTBEGIN
357 MCNAPI static ::SemVersion const& VERSION();
358 // NOLINTEND
359 };
360
361 struct WaterConfigSettingsV4 {
362 public:
363 // WaterConfigSettingsV4 inner types declare
364 // clang-format off
365 struct WaterSettings;
366 // clang-format on
367
368 // WaterConfigSettingsV4 inner types define
369 struct WaterSettings {
370 public:
371 // member variables
372 // NOLINTBEGIN
378 // NOLINTEND
379
380 public:
381 // prevent constructor by default
382 WaterSettings& operator=(WaterSettings const&);
383 WaterSettings();
384
385 public:
386 // member functions
387 // NOLINTBEGIN
389
391 // NOLINTEND
392
393 public:
394 // constructor thunks
395 // NOLINTBEGIN
397 // NOLINTEND
398
399 public:
400 // destructor thunk
401 // NOLINTBEGIN
402 MCNAPI void $dtor();
403 // NOLINTEND
404 };
405
406 public:
407 // member variables
408 // NOLINTBEGIN
411 // NOLINTEND
412
413 public:
414 // prevent constructor by default
415 WaterConfigSettingsV4& operator=(WaterConfigSettingsV4 const&);
416 WaterConfigSettingsV4(WaterConfigSettingsV4 const&);
417 WaterConfigSettingsV4();
418
419 public:
420 // member functions
421 // NOLINTBEGIN
423 // NOLINTEND
424
425 public:
426 // static variables
427 // NOLINTBEGIN
428 MCNAPI static ::SemVersion const& VERSION();
429 // NOLINTEND
430
431 public:
432 // destructor thunk
433 // NOLINTBEGIN
434 MCNAPI void $dtor();
435 // NOLINTEND
436 };
437
438 struct CausticsTexture {
439 public:
440 // member variables
441 // NOLINTBEGIN
444 // NOLINTEND
445
446 public:
447 // prevent constructor by default
448 CausticsTexture& operator=(CausticsTexture const&);
451 };
452
453public:
454 // member variables
455 // NOLINTBEGIN
460 // NOLINTEND
461
462public:
463 // prevent constructor by default
464 WaterConfig& operator=(WaterConfig const&);
465 WaterConfig(WaterConfig const&);
466 WaterConfig();
467
468public:
469 // virtual functions
470 // NOLINTBEGIN
471 virtual ~WaterConfig() /*override*/;
472
473 virtual void loadDataSync(
475 ::ResourcePackManager& resourcePackManager,
477 ) /*override*/;
478
479 virtual ::Puv::LoadResultAny loadFromString(
481 ::std::string const& dataJson,
483 ) /*override*/;
484
485 virtual void _setDefaultIdentifierImpl(::HashedString const& defaultIdentifier) /*override*/;
486 // NOLINTEND
487
488public:
489 // member functions
490 // NOLINTBEGIN
491 MCNAPI explicit WaterConfig(::IMinecraftEventing& eventing);
492
493 MCNAPI bool containsWaterSettings(::HashedString const& biomeID) const;
494
495 MCNAPI ::WaterConfig::WaterConfigSettingsV4 const& findWaterConfigSettings(::HashedString const& biomeID) const;
496
497 MCNAPI ::mce::framebuilder::CausticsParameters getCausticsParameters() const;
498
499 MCNAPI ::dragon::framerenderer::modules::water::WaterParameters getWaterParameters() const;
500
501 MCNAPI ::dragon::framerenderer::modules::water::WaterParameters
502 getWaterParameters(::HashedString const& biomeID) const;
503
504 MCNAPI ::mce::framebuilder::WaterSurfaceParameters getWaterSurfaceParameters() const;
505
506 MCNAPI ::mce::framebuilder::WaterSurfaceParameters getWaterSurfaceParameters(::HashedString const& biomeID) const;
507
508 MCNAPI void loadTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
509
511
513 ::HashedString const& identifier,
514 ::WaterConfig::WaterConfigSettingsV4 const& inWaterConfigSettings
515 );
516
517 MCNAPI void unloadTextures(::std::shared_ptr<::mce::TextureGroup> textureGroup);
518
520 // NOLINTEND
521
522public:
523 // static functions
524 // NOLINTBEGIN
526
527 MCNAPI static ::Scripting::Result_deprecated<void> registerConfigMappingChangeHandler(
529 ::LocalPlayer& localPlayer
530 );
531
532 MCNAPI static ::Scripting::Result_deprecated<void> registerEditorAccessors(
534 ::LocalPlayer& localPlayer,
536 );
537 // NOLINTEND
538
539public:
540 // static variables
541 // NOLINTBEGIN
542 MCNAPI static ::std::string_view const& PAYLOAD_KEY();
543 // NOLINTEND
544
545public:
546 // constructor thunks
547 // NOLINTBEGIN
548 MCNAPI void* $ctor(::IMinecraftEventing& eventing);
549 // NOLINTEND
550
551public:
552 // destructor thunk
553 // NOLINTBEGIN
554 MCNAPI void $dtor();
555 // NOLINTEND
556
557public:
558 // virtual function thunks
559 // NOLINTBEGIN
560 MCNAPI void $loadDataSync(
562 ::ResourcePackManager& resourcePackManager,
564 );
565
566 MCNAPI ::Puv::LoadResultAny $loadFromString(
568 ::std::string const& dataJson,
570 );
571
572 MCNAPI void $_setDefaultIdentifierImpl(::HashedString const& defaultIdentifier);
573 // NOLINTEND
574
575public:
576 // vftables
577 // NOLINTBEGIN
578 MCNAPI static void** $vftable();
579 // NOLINTEND
580};
Definition NonOwnerPointer.h:9
Definition EditorRenderingModifiableConfig.h:5
Definition ClientDataTransferServiceProvider.h:7
Definition HashedString.h:5
Definition IMinecraftEventing.h:147
Definition LinkedAssetValidator.h:8
Definition LocalPlayer.h:5
Definition LoadResultAny.h:12
Definition RenderingResourcePackJsonConfig.h:5
Definition ResourcePackManager.h:36
Definition SemVersionConstant.h:8
Definition SemVersion.h:15
Definition WaterConfig.h:5
MCAPI bool validateAndSetCausticsTexture()
MCAPI::mce::framebuilder::WaterSurfaceParameters getWaterSurfaceParameters(::HashedString const &biomeID) const
static MCAPI ::std::string_view const & PAYLOAD_KEY()
MCAPI void * $ctor(::IMinecraftEventing &eventing)
MCAPI::mce::framebuilder::CausticsParameters getCausticsParameters() const
MCAPI bool setWaterConfigSettings(::HashedString const &identifier, ::WaterConfig::WaterConfigSettingsV4 const &inWaterConfigSettings)
MCAPI void setDefaultWaterSettings(::WaterConfig::WaterConfigSettingsV4 const &inWaterSettings)
MCAPI void unloadTextures(::std::shared_ptr<::mce::TextureGroup > textureGroup)
MCAPI::dragon::framerenderer::modules::water::WaterParameters getWaterParameters() const
static MCAPI void bindWaterParameters(::cereal::ReflectionCtx &ctx)
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 bool containsWaterSettings(::HashedString const &biomeID) const
MCAPI WaterConfig(::IMinecraftEventing &eventing)
MCAPI::WaterConfig::WaterConfigSettingsV4 const & findWaterConfigSettings(::HashedString const &biomeID) const
static MCAPI ::Scripting::Result_deprecated< void > registerConfigMappingChangeHandler(::Editor::Services::ClientDataTransferServiceProvider &dataTransferService, ::LocalPlayer &localPlayer)
MCAPI void $dtor()
MCAPI::dragon::framerenderer::modules::water::WaterParameters getWaterParameters(::HashedString const &biomeID) const
static MCAPI ::Scripting::Result_deprecated< void > registerEditorAccessors(::Editor::Services::ClientDataTransferServiceProvider &dataTransferService, ::LocalPlayer &localPlayer, ::cereal::ReflectionCtx const &ctx)
MCAPI void $_setDefaultIdentifierImpl(::HashedString const &defaultIdentifier)
MCAPI void $loadDataSync(::cereal::ReflectionCtx const &ctx, ::ResourcePackManager &resourcePackManager, ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > validator)
MCAPI::mce::framebuilder::WaterSurfaceParameters getWaterSurfaceParameters() const
Definition TextureGroup.h:7
Definition WaterConfig.h:106
Definition WaterConfig.h:18
static MCAPI ::SemVersionConstant const & VERSION()
Definition WaterConfig.h:44
static MCAPI ::SemVersion const & VERSION()
Definition WaterConfig.h:70
static MCAPI ::SemVersion const & VERSION()
Definition WaterConfig.h:84
static MCAPI ::SemVersion const & VERSION()
MCAPI void * $ctor(::WaterConfig::WaterConfigSettingsV4::WaterSettings const &)
MCAPI WaterSettings(::WaterConfig::WaterConfigSettingsV4::WaterSettings const &)
Definition WaterConfig.h:95
static MCAPI ::SemVersion const & VERSION()
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14
Definition CausticsParameters.h:7
Definition WaterSurfaceParameters.h:7