Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ScriptLevelGameplayHandler.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/HandlerResult.h"
10#include "mc/gameplayhandlers/LevelGameplayHandler.h"
11#include "mc/scripting/event_handlers/ScriptEventHandler.h"
12
13// auto generated forward declare list
14// clang-format off
18namespace ScriptModuleMinecraft { class IScriptWorldBeforeEvents; }
19// clang-format on
20
21class ScriptLevelGameplayHandler : public ::EventHandlerDispatcher<::LevelGameplayHandler>,
22 public ::ScriptEventHandler<::ScriptModuleMinecraft::IScriptWorldBeforeEvents> {
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::GameplayHandlerResult<::CoordinatorResult> handleEvent(::LevelWeatherChangedEvent& event) /*override*/;
27
28 virtual ::HandlerResult handleEvent(::ScriptingWorldInitializeEvent const& event) /*override*/;
29
30 virtual ::GameplayHandlerResult<::CoordinatorResult> handleEvent(::WorldClockRestartEvent& event) /*override*/;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36 MCNAPI ::GameplayHandlerResult<::CoordinatorResult> $handleEvent(::LevelWeatherChangedEvent& event);
37
38 MCNAPI ::HandlerResult $handleEvent(::ScriptingWorldInitializeEvent const& event);
39
40 MCNAPI ::GameplayHandlerResult<::CoordinatorResult> $handleEvent(::WorldClockRestartEvent& event);
41
42
43 // NOLINTEND
44};
Definition EventHandlerDispatcher.h:6
Definition ScriptEventHandler.h:6
Definition ScriptLevelGameplayHandler.h:22
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::WorldClockRestartEvent &event)
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::LevelWeatherChangedEvent &event)
MCAPI::HandlerResult $handleEvent(::ScriptingWorldInitializeEvent const &event)
Definition IScriptWorldBeforeEvents.h:50
Definition LevelWeatherChangedEvent.h:5
Definition ScriptingWorldInitializeEvent.h:12
Definition WorldClockRestartEvent.h:10