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
7class BlockSource;
8class GameEvent;
10namespace GameEvents { class PositionSource; }
11// clang-format on
12
14public:
15 // GameEventListener inner types define
16 enum class DeliveryMode : int {
17 Unspecified = 0,
18 ByDistance = 1,
19 };
20
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~GameEventListener() = default;
25
26 virtual void handleGameEvent(::GameEvent const&, ::GameEventContext const&, ::BlockSource&) = 0;
27
28 virtual ::GameEvents::PositionSource const& getPositionSource() const = 0;
29
30 virtual uint getRange() const = 0;
31
32 virtual ::GameEventListener::DeliveryMode getDeliveryMode() const;
33 // NOLINTEND
34
35public:
36 // virtual function thunks
37 // NOLINTBEGIN
38 MCFOLD ::GameEventListener::DeliveryMode $getDeliveryMode() const;
39
40
41 // NOLINTEND
42};
Definition BlockSource.h:68
Definition GameEventListener.h:13
Definition GameEvent.h:8
Definition PositionSource.h:19
Definition GameEventContext.h:14