26 enum class OwnerType :
int {
36 ::ll::TypedStorage<8, 72, ::VibrationSelector> mVibrationSelector;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VibrationListenerConfig>> mConfig;
38 ::ll::TypedStorage<8, 24, ::GameEvents::PositionSource> mPositionSource;
39 ::ll::TypedStorage<4, 4, ::VibrationListener::OwnerType> mOwnerType;
40 ::ll::TypedStorage<4, 4, uint> mRange;
41 ::ll::TypedStorage<8, 64, ::std::optional<::VibrationInfo>> mInFlightVibrationInfo;
42 ::ll::TypedStorage<4, 4, int> mInFlightVibrationTicks;
43 ::ll::TypedStorage<8, 8, ::std::reference_wrapper<::GameEvent const>> mLatestReceivedVibration;
53 virtual void handleGameEvent(
59 virtual uint getRange()
const ;
61 virtual ::GameEvents::PositionSource
const& getPositionSource()
const ;
67 MCAPI VibrationListener(
68 ::std::unique_ptr<::VibrationListenerConfig>&& config,
71 ::VibrationListener::OwnerType ownerType
74 MCAPI
bool _areAdjacentChunksTicking(
::BlockSource& region)
const;
78 MCAPI
bool _tryAdvanceInFlightVibration(
::BlockSource& region);
80 MCAPI
void _trySendSneakCloseToSculkSensorEventPacket(
87 MCFOLD ::GameEvent
const& getLatestReceivedVibration()
const;
101 MCAPI
static bool _shouldIgnoreVibration(
112 ::std::unique_ptr<::VibrationListenerConfig>&& config,
115 ::VibrationListener::OwnerType ownerType
125 MCFOLD uint $getRange()
const;
127 MCFOLD ::GameEvents::PositionSource
const& $getPositionSource()
const;
Definition GameEventContext.h:14