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/EventListenerDispatcher.h"
7#include "mc/world/events/EventResult.h"
8
9// auto generated forward declare list
10// 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: 36
61 virtual ::EventResult onEvent(::ActorDefinitionEndedEvent const& actorDefinitionEndedEvent) /*override*/;
62
63 // vIndex: 0
64 virtual ~ScriptActorGlobalEventListener() /*override*/ = default;
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70
71 // NOLINTEND
72
73public:
74 // virtual function thunks
75 // NOLINTBEGIN
76 MCAPI ::EventResult $onEvent(::ActorAddEffectEvent const& actorAddEffectEvent);
77
78 MCAPI ::EventResult $onEvent(::ActorDefinitionEndedEvent const& actorDefinitionEndedEvent);
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCAPI static void** $vftable();
85 // NOLINTEND
86};
87
88} // namespace ScriptModuleMinecraft
Definition ActorEventListener.h:20
Definition EventListenerDispatcher.h:6
Definition ScriptActorGlobalEventListener.h:18
Definition ActorAddEffectEvent.h:11
Definition ActorDefinitionEndedEvent.h:11
Definition ScriptActorGlobalEventListener.h:26
Definition Alias.h:14