LeviLamina
Loading...
Searching...
No Matches
WardenVibrationConfig.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#include "mc/world/level/Tick.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class BlockPos;
14class BlockSource;
15class GameEvent;
16struct GameEventContext;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 24, ::WeakEntityRef> mActor;
24 ::ll::TypedStorage<2, 2, ushort> mSignalThrottlingTicks;
25 ::ll::TypedStorage<8, 16, ::std::optional<uint64>> mLastSignalReceivedTick;
26 ::ll::TypedStorage<8, 8, ::Tick> mLastProjectileTick;
27 ::ll::TypedStorage<4, 4, int> mProjectileSuspiciousIntervalTicks;
28 ::ll::TypedStorage<4, 4, float> mTargetProjectileOwnerRange;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void onSignalReceive(
35 ::BlockSource& region,
36 ::BlockPos const& vibrationSourcePos,
37 ::GameEvent const&,
38 ::Actor* vibrationSource,
39 float,
40 uint,
41 ::Actor* projectileOwner
42 ) /*override*/;
43
44 virtual bool isValidVibration(::GameEvent const& gameEvent) /*override*/;
45
46 virtual bool
47 shouldListen(::BlockSource& region, ::GameEvent const&, ::GameEventContext const& gameEventContext) /*override*/;
48
49 virtual ~WardenVibrationConfig() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI void $onSignalReceive(
56 ::BlockSource& region,
57 ::BlockPos const& vibrationSourcePos,
58 ::GameEvent const&,
59 ::Actor* vibrationSource,
60 float,
61 uint,
62 ::Actor* projectileOwner
63 );
64
65 MCAPI bool $isValidVibration(::GameEvent const& gameEvent);
66
67 MCAPI bool $shouldListen(::BlockSource& region, ::GameEvent const&, ::GameEventContext const& gameEventContext);
68
69
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition Actor.h:105
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition GameEvent.h:8
Definition VibrationListenerConfig.h:14
Definition WardenVibrationConfig.h:19
Definition GameEventContext.h:14