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 // vIndex: 3
28 virtual ::GameplayHandlerResult<::CoordinatorResult> handleEvent(::LevelWeatherChangedEvent& event) /*override*/;
29
30 // vIndex: 4
31 virtual ::HandlerResult handleEvent(::ScriptingWorldInitializeEvent const& event) /*override*/;
32
33 // vIndex: 0
34 virtual ~ScriptLevelGameplayHandler() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
41 ::ScriptingWorldInitializeEvent const& eventData,
44 ) const;
45
47 ::LevelWeatherChangedEvent& weatherChangedEvent,
50 ) const;
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCNAPI ::GameplayHandlerResult<::CoordinatorResult> $handleEvent(::LevelWeatherChangedEvent& event);
57
58 MCNAPI ::HandlerResult $handleEvent(::ScriptingWorldInitializeEvent const& event);
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition EventHandlerDispatcher.h:6
Definition ScriptEventHandler.h:6
Definition ScriptLevelGameplayHandler.h:23
MCAPI bool _handleWeatherChangedEvent(::LevelWeatherChangedEvent &weatherChangedEvent, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldBeforeEvents > scriptLevelEventsHandle) const
static MCAPI void ** $vftable()
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::LevelWeatherChangedEvent &event)
MCAPI bool _handleScriptingWorldInitializeEvent(::ScriptingWorldInitializeEvent const &eventData, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldBeforeEvents > scriptLevelEventsHandle) const
MCAPI::HandlerResult $handleEvent(::ScriptingWorldInitializeEvent const &event)
Definition WeakLifetimeScope.h:12
Definition LevelWeatherChangedEvent.h:5
Definition ScriptingWorldInitializeEvent.h:16
Definition TypedObjectHandle.h:8