LeviLamina
Loading...
Searching...
No Matches
ScriptScriptingEventHandler.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/scripting/lifetime_registry/TypedObjectHandle.h"
7#include "mc/gameplayhandlers/CoordinatorResult.h"
8#include "mc/gameplayhandlers/EventHandlerDispatcher.h"
9#include "mc/gameplayhandlers/GameplayHandlerResult.h"
10#include "mc/gameplayhandlers/ScriptingEventHandler.h"
11#include "mc/scripting/event_handlers/ScriptEventHandler.h"
12
13// auto generated forward declare list
14// clang-format off
18namespace ScriptModuleMinecraft { class ScriptSystemBeforeEvents; }
19namespace Scripting { class WeakLifetimeScope; }
20// clang-format on
21
22class ScriptScriptingEventHandler : public ::EventHandlerDispatcher<::ScriptingEventHandler>,
23 public ::ScriptEventHandler<::ScriptModuleMinecraft::ScriptSystemBeforeEvents> {
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 6
28 virtual ::GameplayHandlerResult<::CoordinatorResult>
29 handleEvent(::BeforeWatchdogTerminateEvent& beforeWatchdogTerminateEvent) /*override*/;
30
31 // vIndex: 4
32 virtual ::GameplayHandlerResult<::CoordinatorResult>
33 handleEvent(::ScriptModuleStartupEvent const& moduleStartupEvent) /*override*/;
34
35 // vIndex: 3
36 virtual ::GameplayHandlerResult<::CoordinatorResult>
37 handleEvent(::ScriptModuleShutdownEvent const& moduleShutdownEvent) /*override*/;
38
39 // vIndex: 0
40 virtual ~ScriptScriptingEventHandler() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
47 ::ScriptModuleShutdownEvent const& moduleShutdownEvent,
50 ) const;
51
53 ::ScriptModuleStartupEvent const& moduleStartupEvent,
56 ) const;
57
59 ::BeforeWatchdogTerminateEvent& beforeWatchdogTerminateEvent,
62 ) const;
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCNAPI ::GameplayHandlerResult<::CoordinatorResult>
69 $handleEvent(::BeforeWatchdogTerminateEvent& beforeWatchdogTerminateEvent);
70
71 MCNAPI ::GameplayHandlerResult<::CoordinatorResult>
72 $handleEvent(::ScriptModuleStartupEvent const& moduleStartupEvent);
73
74 MCNAPI ::GameplayHandlerResult<::CoordinatorResult>
75 $handleEvent(::ScriptModuleShutdownEvent const& moduleShutdownEvent);
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCNAPI static void** $vftable();
82 // NOLINTEND
83};
Definition EventHandlerDispatcher.h:6
Definition ScriptEventHandler.h:6
Definition ScriptScriptingEventHandler.h:23
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::BeforeWatchdogTerminateEvent &beforeWatchdogTerminateEvent)
MCAPI bool _handleWatchdogTerminateEvent(::BeforeWatchdogTerminateEvent &beforeWatchdogTerminateEvent, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptSystemBeforeEvents > scriptSystemBeforeEventsHandle) const
MCAPI bool _handleScriptModuleStartupEvent(::ScriptModuleStartupEvent const &moduleStartupEvent, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptSystemBeforeEvents > scriptSystemBeforeEventsHandle) const
MCAPI bool _handlScriptModuleShutdownEvent(::ScriptModuleShutdownEvent const &moduleShutdownEvent, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::ScriptSystemBeforeEvents > scriptSystemBeforeEventsHandle) const
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::ScriptModuleStartupEvent const &moduleStartupEvent)
static MCAPI void ** $vftable()
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::ScriptModuleShutdownEvent const &moduleShutdownEvent)
Definition WeakLifetimeScope.h:12
Definition BeforeWatchdogTerminateEvent.h:9
Definition ScriptModuleShutdownEvent.h:8
Definition ScriptModuleStartupEvent.h:16
Definition TypedObjectHandle.h:8