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/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/HandlerResult.h"
11#include "mc/gameplayhandlers/LevelGameplayHandler.h"
12#include "mc/scripting/event_handlers/ScriptEventHandler.h"
13
14// auto generated forward declare list
15// clang-format off
18namespace ScriptModuleMinecraft { class IScriptWorldBeforeEvents; }
19namespace Scripting { class WeakLifetimeScope; }
20// clang-format on
21
22class ScriptLevelGameplayHandler : public ::EventHandlerDispatcher<::LevelGameplayHandler>,
23 public ::ScriptEventHandler<::ScriptModuleMinecraft::IScriptWorldBeforeEvents> {
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::GameplayHandlerResult<::CoordinatorResult> handleEvent(::LevelWeatherChangedEvent& event) /*override*/;
28
29 virtual ::HandlerResult handleEvent(::ScriptingWorldInitializeEvent const& event) /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI bool _handleWeatherChangedEvent(
36 ::LevelWeatherChangedEvent& weatherChangedEvent,
39 ) const;
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCAPI ::GameplayHandlerResult<::CoordinatorResult> $handleEvent(::LevelWeatherChangedEvent& event);
46
47 MCAPI ::HandlerResult $handleEvent(::ScriptingWorldInitializeEvent const& event);
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition EventHandlerDispatcher.h:6
Definition ScriptEventHandler.h:6
Definition ScriptLevelGameplayHandler.h:23
static MCAPI void ** $vftable()
Definition IScriptWorldBeforeEvents.h:46
Definition WeakLifetimeScope.h:14
Definition LevelWeatherChangedEvent.h:5
Definition ScriptingWorldInitializeEvent.h:16
Definition TypedObjectHandle.h:8