LeviLamina
Loading...
Searching...
No Matches
ScriptSettings.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/scripting/runtime/watchdog/WatchdogSettings.h"
8#include "mc/scripting/ScriptPackConfigurationManager.h"
9#include "mc/scripting/debugger/ScriptDebuggerSettings.h"
10#include "mc/util/BaseGameVersion.h"
11
12// auto generated forward declare list
13// clang-format off
15namespace cereal { struct ReflectionCtx; }
16namespace mce { class UUID; }
17// clang-format on
18
19struct ScriptSettings {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::cereal::ReflectionCtx const>> mCerealContext;
24 ::ll::TypedStorage<8, 480, ::ScriptPackConfigurationManager> mPackConfigurationManager;
25 ::ll::TypedStorage<1, 1, bool> mEnabled;
26 ::ll::TypedStorage<1, 1, bool> mEnableEditorModules;
27 ::ll::TypedStorage<8, 32, ::BaseGameVersion> mBaseGameVersion;
28 ::ll::TypedStorage<8, 104, ::ScriptDebuggerSettings> mDebuggerSettings;
29 ::ll::TypedStorage<8, 24, ::std::vector<::mce::UUID>> mExcludedScriptModules;
30 ::ll::TypedStorage<4, 36, ::std::optional<::Scripting::WatchdogSettings>> mWatchdogSettings;
31 ::ll::TypedStorage<1, 1, bool> mDiagnosticsAutoStart;
32 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMaxDiagnosticsCaptureFiles;
33 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMaxDiagnosticsCaptureFileSize;
34 ::ll::TypedStorage<4, 8, ::std::optional<uint>> mMaxEventsPerWindow;
35 ::ll::TypedStorage<8, 16, ::std::optional<::std::chrono::seconds>> mRateLimitWindow;
36 ::ll::TypedStorage<8, 8, ::IScriptDedicatedServerUtils*> mDedicatedServerUtils;
37 // NOLINTEND
38
39#ifdef LL_PLAT_S
40public:
41 // prevent constructor by default
42 ScriptSettings& operator=(ScriptSettings const&);
43 ScriptSettings();
44
45#else // LL_PLAT_C
46public:
47 // prevent constructor by default
48 ScriptSettings& operator=(ScriptSettings const&);
49 ScriptSettings(ScriptSettings const&);
50 ScriptSettings();
51
52#endif
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCNAPI ScriptSettings(::ScriptSettings&&);
57
58#ifdef LL_PLAT_S
59 MCNAPI ScriptSettings(::ScriptSettings const&);
60#endif
61
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCNAPI void* $ctor(::ScriptSettings&&);
69
70#ifdef LL_PLAT_S
71 MCNAPI void* $ctor(::ScriptSettings const&);
72#endif
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCNAPI void $dtor();
79 // NOLINTEND
80};
Definition IScriptDedicatedServerUtils.h:10
Definition UUID.h:7
MCAPI void $dtor()
MCAPI void * $ctor(::ScriptSettings &&)
MCAPI ScriptSettings(::ScriptSettings &&)
MCAPI ~ScriptSettings()
Definition ReflectionCtx.h:11