LeviLamina
Loading...
Searching...
No Matches
ScriptServerStateMonitor.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/pub_sub/Subscription.h"
7#include "mc/scripting/modules/minecraft/ScriptServerState.h"
8
9// auto generated forward declare list
10// clang-format off
12// clang-format on
13
14namespace ScriptModuleMinecraft {
15
16class ScriptServerStateMonitor {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, ::ScriptModuleMinecraft::ScriptServerState> mState;
21 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mPreReloadSub;
22 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mInitializeCompleteSub;
23 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mStartupCompleteSub;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 ScriptServerStateMonitor();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~ScriptServerStateMonitor();
34
35 virtual void _onReload();
36
37 virtual void _onScriptInitializationComplete();
38
39 virtual void _onScriptModuleStartupComplete();
40 // NOLINTEND
41
42public:
43 // member functions
44 // NOLINTBEGIN
45 MCAPI explicit ScriptServerStateMonitor(::ServerScriptManagerEvents& events);
46
47 MCAPI bool isReloading() const;
48
49 MCFOLD ::ScriptModuleMinecraft::ScriptServerState const& state() const;
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(::ServerScriptManagerEvents& events);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCAPI void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD void $_onReload();
68
69 MCFOLD void $_onScriptInitializationComplete();
70
71 MCFOLD void $_onScriptModuleStartupComplete();
72
73
74 // NOLINTEND
75
76public:
77 // vftables
78 // NOLINTBEGIN
79 MCNAPI static void** $vftable();
80 // NOLINTEND
81};
82
83} // namespace ScriptModuleMinecraft
Definition ServerScriptManagerEvents.h:13