LeviLamina
Loading...
Searching...
No Matches
GameEventListener.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
BlockSource
;
8
class
GameEvent
;
9
struct
GameEventContext
;
10
namespace
GameEvents {
class
PositionSource; }
11
// clang-format on
12
13
class
GameEventListener
{
14
public
:
15
// GameEventListener inner types define
16
enum class
DeliveryMode :
int
{
17
Unspecified = 0,
18
ByDistance = 1,
19
};
20
21
public
:
22
// virtual functions
23
// NOLINTBEGIN
24
// vIndex: 0
25
virtual
~GameEventListener
() =
default
;
26
27
// vIndex: 1
28
virtual
void
handleGameEvent(
::GameEvent
const
&,
::GameEventContext
const
&,
::BlockSource
&) = 0;
29
30
// vIndex: 2
31
virtual ::GameEvents::PositionSource
const
& getPositionSource()
const
= 0;
32
33
// vIndex: 3
34
virtual
uint getRange()
const
= 0;
35
36
// vIndex: 4
37
virtual ::GameEventListener::DeliveryMode getDeliveryMode()
const
;
38
// NOLINTEND
39
40
public
:
41
// virtual function thunks
42
// NOLINTBEGIN
43
MCNAPI ::GameEventListener::DeliveryMode
$getDeliveryMode
()
const
;
44
// NOLINTEND
45
};
BlockSource
Definition
BlockSource.h:67
GameEventListener
Definition
GameEventListener.h:13
GameEventListener::$getDeliveryMode
MCAPI::GameEventListener::DeliveryMode $getDeliveryMode() const
GameEvent
Definition
GameEvent.h:8
GameEventContext
Definition
GameEventContext.h:14
src
mc
world
events
gameevents
GameEventListener.h
Generated on Fri Jun 13 2025 05:05:05 for LeviLamina by
1.12.0