Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
AllayVibrationConfig.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/ecs/WeakEntityRef.h"
7#include "mc/world/events/gameevents/VibrationListenerConfig.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class BlockPos;
13class BlockSource;
14class GameEvent;
15struct GameEventContext;
16// clang-format on
17
18class AllayVibrationConfig : public ::VibrationListenerConfig {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mActor;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 AllayVibrationConfig();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual void onSignalReceive(
33 ::BlockSource& region,
34 ::BlockPos const& vibrationSourcePos,
35 ::GameEvent const& gameEvent,
36 ::Actor*,
37 float,
38 uint,
39 ::Actor*
40 ) /*override*/;
41
42 virtual bool isValidVibration(::GameEvent const& gameEvent) /*override*/;
43
44 virtual bool shouldListen(::BlockSource&, ::GameEvent const&, ::GameEventContext const&) /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCNAPI AllayVibrationConfig(::Actor& actor, ushort);
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCNAPI void* $ctor(::Actor& actor, ushort);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCNAPI void $onSignalReceive(
63 ::BlockSource& region,
64 ::BlockPos const& vibrationSourcePos,
65 ::GameEvent const& gameEvent,
66 ::Actor*,
67 float,
68 uint,
69 ::Actor*
70 );
71
72 MCNAPI bool $isValidVibration(::GameEvent const& gameEvent);
73
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition Actor.h:116
MCAPI bool $shouldListen(::BlockSource &, ::GameEvent const &, ::GameEventContext const &)
MCAPI void * $ctor(::Actor &actor, ushort)
MCAPI void $onSignalReceive(::BlockSource &region, ::BlockPos const &vibrationSourcePos, ::GameEvent const &gameEvent, ::Actor *, float, uint, ::Actor *)
MCAPI bool $isValidVibration(::GameEvent const &gameEvent)
static MCAPI void ** $vftable()
MCAPI AllayVibrationConfig(::Actor &actor, ushort)
Definition BlockPos.h:14
Definition BlockSource.h:72
Definition GameEvent.h:8
Definition VibrationListenerConfig.h:14
Definition GameEventContext.h:14