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/CoordinatorResult.h"
8#include "mc/gameplayhandlers/EventHandlerDispatcher.h"
9#include "mc/gameplayhandlers/GameplayHandlerResult.h"
10#include "mc/gameplayhandlers/HandlerResult.h"
11#include "mc/scripting/event_handlers/ScriptEventHandler.h"
12
13// auto generated forward declare list
14// 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: 4
28 virtual ::GameplayHandlerResult<::CoordinatorResult> handleEvent(::ActorAddEffectEvent& actorEffectAddedEvent
29 ) /*override*/;
30
31 // vIndex: 14
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
41 MCAPI bool _handleActorEffectAddedEvent(
42 ::ActorAddEffectEvent& actorEffectAddedEvent,
45 ) const;
46
47 MCAPI bool _handleActorRemoveEvent(
48 ::ActorRemovedEvent const& actorRemovedEvent,
51 ) const;
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI ::GameplayHandlerResult<::CoordinatorResult> $handleEvent(::ActorAddEffectEvent& actorEffectAddedEvent);
64
65 MCAPI ::HandlerResult $handleEvent(::ActorRemovedEvent const& actorRemovedEvent);
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCAPI static void** $vftable();
72 // NOLINTEND
73};
Definition ActorGameplayHandler.h:13
Definition EventHandlerDispatcher.h:6
Definition ScriptActorGameplayHandler.h:23
Definition ScriptEventHandler.h:6
Definition WeakLifetimeScope.h:12
Definition ActorAddEffectEvent.h:11
Definition ActorRemovedEvent.h:10
Definition TypedObjectHandle.h:8