LeviLamina
Loading...
Searching...
No Matches
ScriptActorGlobalEventListener.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/events/ActorEventListener.h"
7#include "mc/world/events/EventListenerDispatcher.h"
8#include "mc/world/events/EventResult.h"
9
10// auto generated forward declare list
11// clang-format off
14// clang-format on
15
16namespace ScriptModuleMinecraft {
17
18class ScriptActorGlobalEventListener : public ::EventListenerDispatcher<::ActorEventListener> {
19public:
20 // ScriptActorGlobalEventListener inner types declare
21 // clang-format off
22 struct Listener;
23 // clang-format on
24
25 // ScriptActorGlobalEventListener inner types define
26 struct Listener {
27 public:
28 // member variables
29 // NOLINTBEGIN
33 // NOLINTEND
34
35 public:
36 // prevent constructor by default
37 Listener& operator=(Listener const&);
38 Listener(Listener const&);
39 Listener();
40 };
41
42public:
43 // member variables
44 // NOLINTBEGIN
46 // NOLINTEND
47
48public:
49 // prevent constructor by default
53
54public:
55 // virtual functions
56 // NOLINTBEGIN
57 // vIndex: 18
58 virtual ::EventResult onEvent(::ActorAddEffectEvent const& actorAddEffectEvent) /*override*/;
59
60 // vIndex: 38
61 virtual ::EventResult onEvent(::ActorDefinitionEndedEvent const& actorDefinitionEndedEvent) /*override*/;
62
63 // vIndex: 0
64 virtual ~ScriptActorGlobalEventListener() /*override*/ = default;
65 // NOLINTEND
66
67public:
68 // virtual function thunks
69 // NOLINTBEGIN
70 MCNAPI ::EventResult $onEvent(::ActorAddEffectEvent const& actorAddEffectEvent);
71
72 MCNAPI ::EventResult $onEvent(::ActorDefinitionEndedEvent const& actorDefinitionEndedEvent);
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
81
82} // namespace ScriptModuleMinecraft
Definition EventListenerDispatcher.h:6
Definition ScriptActorGlobalEventListener.h:18
MCAPI::EventResult $onEvent(::ActorAddEffectEvent const &actorAddEffectEvent)
MCAPI::EventResult $onEvent(::ActorDefinitionEndedEvent const &actorDefinitionEndedEvent)
Definition ActorAddEffectEvent.h:9
Definition ActorDefinitionEndedEvent.h:11
Definition ScriptActorGlobalEventListener.h:26
Definition Alias.h:14