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
virtual
~GameEventListener
() =
default
;
25
26
virtual
void
handleGameEvent(
27
::GameEvent
const
& gameEvent,
28
::GameEventContext
const
& gameEventContext,
29
::BlockSource
& region
30
) = 0;
31
32
virtual ::GameEvents::PositionSource
const
& getPositionSource()
const
= 0;
33
34
virtual
uint getRange()
const
= 0;
35
36
virtual ::GameEventListener::DeliveryMode getDeliveryMode()
const
;
37
// NOLINTEND
38
39
public
:
40
// virtual function thunks
41
// NOLINTBEGIN
42
MCFOLD ::GameEventListener::DeliveryMode $getDeliveryMode()
const
;
43
44
45
// NOLINTEND
46
};
BlockSource
Definition
BlockSource.h:71
GameEventListener
Definition
GameEventListener.h:13
GameEvent
Definition
GameEvent.h:8
GameEvents::PositionSource
Definition
PositionSource.h:19
GameEventContext
Definition
GameEventContext.h:14
src
mc
world
events
gameevents
GameEventListener.h
Generated on
for LeviLamina by
1.16.1