Skip to content
LeviMC
English
AutoLightDark
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/gameplayhandlers/CoordinatorResult.h"
7#include "mc/gameplayhandlers/EventHandlerDispatcher.h"
8#include "mc/gameplayhandlers/GameplayHandlerResult.h"
9#include "mc/gameplayhandlers/ScriptingEventHandler.h"
10#include "mc/scripting/event_handlers/ScriptEventHandler.h"
11
12// auto generated forward declare list
13// clang-format off
17namespace ScriptModuleMinecraft { class ScriptSystemBeforeEvents; }
18// clang-format on
19
20class ScriptScriptingEventHandler : public ::EventHandlerDispatcher<::ScriptingEventHandler>,
21 public ::ScriptEventHandler<::ScriptModuleMinecraft::ScriptSystemBeforeEvents> {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::GameplayHandlerResult<::CoordinatorResult>
26 handleEvent(::BeforeWatchdogTerminateEvent& beforeWatchdogTerminateEvent) /*override*/;
27
28 virtual ::GameplayHandlerResult<::CoordinatorResult>
29 handleEvent(::ScriptModuleStartupEvent const& moduleStartupEvent) /*override*/;
30
31 virtual ::GameplayHandlerResult<::CoordinatorResult>
32 handleEvent(::ScriptModuleShutdownEvent const& moduleShutdownEvent) /*override*/;
33 // NOLINTEND
34
35public:
36 // virtual function thunks
37 // NOLINTBEGIN
38 MCNAPI ::GameplayHandlerResult<::CoordinatorResult>
39 $handleEvent(::BeforeWatchdogTerminateEvent& beforeWatchdogTerminateEvent);
40
41 MCNAPI ::GameplayHandlerResult<::CoordinatorResult>
42 $handleEvent(::ScriptModuleStartupEvent const& moduleStartupEvent);
43
44 MCNAPI ::GameplayHandlerResult<::CoordinatorResult>
45 $handleEvent(::ScriptModuleShutdownEvent const& moduleShutdownEvent);
46
47
48 // NOLINTEND
49};
Definition EventHandlerDispatcher.h:6
Definition ScriptEventHandler.h:6
Definition ScriptSystemBeforeEvents.h:25
Definition ScriptScriptingEventHandler.h:21
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::BeforeWatchdogTerminateEvent &beforeWatchdogTerminateEvent)
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::ScriptModuleStartupEvent const &moduleStartupEvent)
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::ScriptModuleShutdownEvent const &moduleShutdownEvent)
Definition BeforeWatchdogTerminateEvent.h:9
Definition ScriptModuleShutdownEvent.h:5
Definition ScriptModuleStartupEvent.h:15