LeviLamina
Loading...
Searching...
No Matches
VibrationListenerConfig.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Actor
;
8
class
BlockPos
;
9
class
BlockSource
;
10
class
GameEvent
;
11
struct
GameEventContext
;
12
// clang-format on
13
14
class
VibrationListenerConfig
{
15
public
:
16
// virtual functions
17
// NOLINTBEGIN
18
virtual
~VibrationListenerConfig
() =
default
;
19
20
virtual
void
21
onSignalReceive(
::BlockSource
&,
::BlockPos
const
&,
::GameEvent
const
&,
::Actor
*,
float
, uint,
::Actor
*) = 0;
22
23
virtual
bool
isValidVibration(
::GameEvent
const
& gameEvent);
24
25
virtual
bool
shouldListen(
::BlockSource
&,
::GameEvent
const
&,
::GameEventContext
const
&) = 0;
26
27
virtual
void
onSerializableDataChanged(
::BlockSource
&);
28
29
virtual
bool
canReceiveOnlyIfAdjacentChunksAreTicking()
const
;
30
// NOLINTEND
31
32
public
:
33
// virtual function thunks
34
// NOLINTBEGIN
35
MCAPI
bool
$isValidVibration(
::GameEvent
const
& gameEvent);
36
37
MCFOLD
void
$onSerializableDataChanged(
::BlockSource
&);
38
39
MCFOLD
bool
$canReceiveOnlyIfAdjacentChunksAreTicking()
const
;
40
41
42
// NOLINTEND
43
};
Actor
Definition
Actor.h:105
BlockPos
Definition
BlockPos.h:19
BlockSource
Definition
BlockSource.h:68
GameEvent
Definition
GameEvent.h:8
VibrationListenerConfig
Definition
VibrationListenerConfig.h:14
GameEventContext
Definition
GameEventContext.h:14
src
mc
world
events
gameevents
VibrationListenerConfig.h
Generated on
for LeviLamina by
1.16.1