Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LocalLightConfig.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/script_core/runtime/scripting/Result_deprecated.h"
8
9// auto generated forward declare list
10// clang-format off
11class LocalPlayer;
13namespace Editor::Services { class ClientDataTransferServiceProvider; }
14namespace Puv { class LoadResultAny; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19public:
20 // LocalLightConfig inner types declare
21 // clang-format off
23 // clang-format on
24
25 // LocalLightConfig inner types define
27 public:
28 // LocalLightConfigSettingsV0 inner types declare
29 // clang-format off
30 struct BlockLightingData;
31 // clang-format on
32
33 // LocalLightConfigSettingsV0 inner types define
34 struct BlockLightingData {
35 public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::UntypedStorage<4, 20> mUnka5b223;
39 ::ll::UntypedStorage<1, 1> mUnkfcc3fe;
40 // NOLINTEND
41
42 public:
43 // prevent constructor by default
44 BlockLightingData& operator=(BlockLightingData const&);
45 BlockLightingData(BlockLightingData const&);
46 BlockLightingData();
47 };
48
49 public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::UntypedStorage<8, 64> mUnk6847c8;
53 ::ll::UntypedStorage<8, 32> mUnk5eae5a;
54 // NOLINTEND
55
56 public:
57 // prevent constructor by default
58 LocalLightConfigSettingsV0& operator=(LocalLightConfigSettingsV0 const&);
59 LocalLightConfigSettingsV0(LocalLightConfigSettingsV0 const&);
60 LocalLightConfigSettingsV0();
61
62 public:
63 // static variables
64 // NOLINTBEGIN
65 MCNAPI static ::SemVersionConstant const& VERSION();
66 // NOLINTEND
67 };
68
69public:
70 // member variables
71 // NOLINTBEGIN
76 // NOLINTEND
77
78public:
79 // prevent constructor by default
80 LocalLightConfig& operator=(LocalLightConfig const&);
81 LocalLightConfig(LocalLightConfig const&);
82 LocalLightConfig();
83
84public:
85 // virtual functions
86 // NOLINTBEGIN
87 virtual ~LocalLightConfig() /*override*/ = default;
88 // NOLINTEND
89
90public:
91 // member functions
92 // NOLINTBEGIN
93 MCNAPI void finalizeResources();
94
95 MCNAPI ::Puv::LoadResultAny
96 loadFromString(::cereal::ReflectionCtx const& ctx, ::std::string const& pointLightsJson);
97
98 MCNAPI ::std::optional<::std::string> serializeToString(::cereal::ReflectionCtx const& ctx) const;
99
101 // NOLINTEND
102
103public:
104 // static functions
105 // NOLINTBEGIN
107
108 MCNAPI static ::Scripting::Result_deprecated<void> registerEditorAccessors(
110 ::LocalPlayer& localPlayer,
112 );
113 // NOLINTEND
114
115public:
116 // static variables
117 // NOLINTBEGIN
118 MCNAPI static ::std::string_view const& LOCAL_LIGHTS_GLOBAL_CONFIG_FILE();
119
120 MCNAPI static ::std::string_view const& PAYLOAD_KEY_V0();
121 // NOLINTEND
122};
Definition EnableNonOwnerReferences.h:7
Definition ClientDataTransferServiceProvider.h:7
Definition LocalLightConfig.h:5
static MCAPI ::std::string_view const & LOCAL_LIGHTS_GLOBAL_CONFIG_FILE()
MCAPI void finalizeResources()
MCAPI void setConfig(::LocalLightConfig::LocalLightConfigSettingsV0 const &other)
MCAPI ::std::optional<::std::string > serializeToString(::cereal::ReflectionCtx const &ctx) const
static MCAPI ::Scripting::Result_deprecated< void > registerEditorAccessors(::Editor::Services::ClientDataTransferServiceProvider &dataTransferService, ::LocalPlayer &localPlayer, ::cereal::ReflectionCtx const &ctx)
MCAPI::Puv::LoadResultAny loadFromString(::cereal::ReflectionCtx const &ctx, ::std::string const &pointLightsJson)
static MCAPI ::std::string_view const & PAYLOAD_KEY_V0()
static MCAPI void bindLocalLightParameters(::cereal::ReflectionCtx &ctx)
Definition LocalPlayer.h:5
Definition LoadResultAny.h:12
Definition SemVersionConstant.h:8
Definition LocalLightConfig.h:13
static MCAPI ::SemVersionConstant const & VERSION()
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14