LeviLamina
Loading...
Searching...
No Matches
ScriptSystemBeforeEvents.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/StrongTypedObjectHandle.h"
7#include "mc/deps/scripting/lifetime_registry/TypedObjectHandle.h"
8#include "mc/deps/scripting/lifetime_registry/WeakHandleFromThis.h"
9#include "mc/deps/scripting/lifetime_registry/WeakLifetimeScope.h"
10#include "mc/scripting/modules/minecraft/events/ScriptFilteredEventSignal.h"
11
12// auto generated forward declare list
13// clang-format off
14class ServerLevel;
15namespace ScriptModuleMinecraft { struct EmptyFilter; }
16namespace ScriptModuleMinecraft { struct ScriptModuleShutdownBeforeEvent; }
17namespace ScriptModuleMinecraft { struct ScriptModuleStartupBeforeEvent; }
18namespace ScriptModuleMinecraft { struct ScriptWatchdogTerminateBeforeEvent; }
19namespace Scripting { class ModuleBindingBuilder; }
20// clang-format on
21
22namespace ScriptModuleMinecraft {
23
25: public ::Scripting::WeakHandleFromThis<::ScriptModuleMinecraft::ScriptSystemBeforeEvents> {
26public:
27 // ScriptSystemBeforeEvents inner types declare
28 // clang-format off
30 // clang-format on
31
32 // ScriptSystemBeforeEvents inner types define
34 public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 32, ::std::string> name;
38 ::ll::TypedStorage<8, 8, uint64> count;
39 // NOLINTEND
40
41 public:
42 // member functions
43 // NOLINTBEGIN
45 // NOLINTEND
46
47 public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
51 // NOLINTEND
52 };
53
54public:
55 // member variables
56 // NOLINTBEGIN
57 ::ll::TypedStorage<8, 16, ::Scripting::WeakLifetimeScope> mScope;
58 ::ll::TypedStorage<8, 16, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptSystemBeforeEvents>>
59 mHandle;
60 ::ll::TypedStorage<8, 8, ::gsl::not_null<::ServerLevel*>> mLevel;
61 ::ll::TypedStorage<
62 8,
63 32,
66 1,
68 mBeforeWatchdogTerminateSignal;
69 ::ll::TypedStorage<
70 8,
71 32,
74 2,
76 mBeforeModuleStartupSignal;
77 ::ll::TypedStorage<
78 8,
79 32,
82 1,
84 mBeforeModuleShutdownSignal;
85 // NOLINTEND
86
87public:
88 // prevent constructor by default
92
93public:
94 // member functions
95 // NOLINTBEGIN
97
98 MCAPI ::std::vector<::ScriptModuleMinecraft::ScriptSystemBeforeEvents::SignalNameSubscriberCount>
99 getFineGrainedSignalSubscriberStats() const;
100
101 MCAPI ::ScriptModuleMinecraft::ScriptSystemBeforeEvents&
103
105 // NOLINTEND
106
107public:
108 // static functions
109 // NOLINTBEGIN
110 MCAPI static void bind(::Scripting::ModuleBindingBuilder& moduleBuilder);
111 // NOLINTEND
112
113public:
114 // constructor thunks
115 // NOLINTBEGIN
117 // NOLINTEND
118
119public:
120 // destructor thunk
121 // NOLINTBEGIN
122 MCAPI void $dtor();
123 // NOLINTEND
124};
125
126} // namespace ScriptModuleMinecraft
Definition ScriptFilteredEventSignal.h:8
Definition ScriptSystemBeforeEvents.h:25
Definition ModuleBindingBuilder.h:29
Definition StrongTypedObjectHandle.h:8
Definition WeakHandleFromThis.h:8
Definition ServerLevel.h:62
Definition EmptyFilter.h:12
Definition ScriptModuleShutdownBeforeEvent.h:12
Definition ScriptModuleStartupBeforeEvent.h:19
Definition ScriptWatchdogTerminateBeforeEvent.h:15