LeviLamina
Loading...
Searching...
No Matches
ScriptActorGameplayHandler.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/ActorGameplayHandler.h"
8#include "mc/gameplayhandlers/CoordinatorResult.h"
9#include "mc/gameplayhandlers/EventHandlerDispatcher.h"
10#include "mc/gameplayhandlers/GameplayHandlerResult.h"
11#include "mc/gameplayhandlers/HandlerResult.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 ScriptActorGameplayHandler : public ::EventHandlerDispatcher<::ActorGameplayHandler>,
23 public ::ScriptEventHandler<::ScriptModuleMinecraft::IScriptWorldBeforeEvents> {
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 // vIndex: 5
28 virtual ::GameplayHandlerResult<::CoordinatorResult>
29 handleEvent(::ActorAddEffectEvent& actorEffectAddedEvent) /*override*/;
30
31 // vIndex: 17
32 virtual ::HandlerResult handleEvent(::ActorRemovedEvent const& actorRemovedEvent) /*override*/;
33
34 // vIndex: 0
35 virtual ~ScriptActorGameplayHandler() /*override*/ = default;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42 ::ActorAddEffectEvent& actorEffectAddedEvent,
45 ) const;
46
48 ::ActorRemovedEvent const& actorRemovedEvent,
51 ) const;
52 // NOLINTEND
53
54public:
55 // virtual function thunks
56 // NOLINTBEGIN
57 MCNAPI ::GameplayHandlerResult<::CoordinatorResult> $handleEvent(::ActorAddEffectEvent& actorEffectAddedEvent);
58
59 MCNAPI ::HandlerResult $handleEvent(::ActorRemovedEvent const& actorRemovedEvent);
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition EventHandlerDispatcher.h:6
Definition ScriptActorGameplayHandler.h:23
MCAPI bool _handleActorRemoveEvent(::ActorRemovedEvent const &actorRemovedEvent, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldBeforeEvents > scriptLevelEventsHandle) const
MCAPI ::GameplayHandlerResult<::CoordinatorResult > $handleEvent(::ActorAddEffectEvent &actorEffectAddedEvent)
MCAPI::HandlerResult $handleEvent(::ActorRemovedEvent const &actorRemovedEvent)
MCAPI bool _handleActorEffectAddedEvent(::ActorAddEffectEvent &actorEffectAddedEvent, ::Scripting::WeakLifetimeScope const &scope, ::Scripting::TypedObjectHandle<::ScriptModuleMinecraft::IScriptWorldBeforeEvents > scriptLevelEventsHandle) const
static MCAPI void ** $vftable()
Definition ScriptEventHandler.h:6
Definition WeakLifetimeScope.h:12
Definition ActorAddEffectEvent.h:9
Definition ActorRemovedEvent.h:8
Definition TypedObjectHandle.h:8