Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ServerCorrectionPolicy Class Reference
Inheritance diagram for ServerCorrectionPolicy:

Public Member Functions

virtual::MovementCorrection shouldCorrectMovement (::EntityContext &entity, ::PlayerAuthInputPacket const &packet, uint64 frame, uchar const currentCounter, bool isStrictMovement)
virtual bool isReplayNeeded (::AdvanceFrameResult) const
virtual void notifyOfExternalCorrection (uint64 frame)
MCAPI::MovementCorrection $shouldCorrectMovement (::EntityContext &entity, ::PlayerAuthInputPacket const &packet, uint64 frame, uchar const currentCounter, bool isStrictMovement)
MCAPI bool $isReplayNeeded (::AdvanceFrameResult) const
MCAPI void $notifyOfExternalCorrection (uint64 frame)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, uint64 > mLastCorrection
::ll::TypedStorage< 8, 16, ::std::optional< uint64 > > mLastExternalCorrection
::ll::TypedStorage< 4, 20, ::ReplayStateConfig > mConfig

Member Function Documentation

◆ shouldCorrectMovement()

virtual::MovementCorrection ServerCorrectionPolicy::shouldCorrectMovement ( ::EntityContext & entity,
::PlayerAuthInputPacket const & packet,
uint64 frame,
uchar const currentCounter,
bool isStrictMovement )
virtual

Implements IReplayStatePolicy.

◆ isReplayNeeded()

virtual bool ServerCorrectionPolicy::isReplayNeeded ( ::AdvanceFrameResult ) const
virtual

Implements IReplayStatePolicy.

◆ notifyOfExternalCorrection()

virtual void ServerCorrectionPolicy::notifyOfExternalCorrection ( uint64 frame)
virtual

Implements IReplayStatePolicy.

◆ $isReplayNeeded()

MCAPI bool ServerCorrectionPolicy::$isReplayNeeded ( ::AdvanceFrameResult ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $notifyOfExternalCorrection()

MCAPI void ServerCorrectionPolicy::$notifyOfExternalCorrection ( uint64 frame)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

MCAPI void ** ServerCorrectionPolicy::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: