Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
PredictedMovementComponent Class Reference

Classes

struct  HistoryTimestampData
struct  HistoryItem
struct  PredictionDbgWindowData
struct  PredictionDbgData
struct  RuntimePredictionData
class  HistoryCache
struct  MotionHistoryItem
struct  MoveHistoryItem

Public Types

using HistoryItem = ::PredictedMovementComponent::HistoryItem
using MotionHistoryItem = ::PredictedMovementComponent::MotionHistoryItem
using MoveHistoryItem = ::PredictedMovementComponent::MoveHistoryItem
using PredictionEventsListenerFunction = ::std::function<void(::MovePredictionType)>

Public Member Functions

MCAPI PredictedMovementComponent ()
MCAPI void _debugLog (::PredictedMovementSystemParams &params, ::PredictedMovementComponent::PredictionDbgData const &debugData) const
MCAPI void reset ()
MCAPI void tickNextPosition (::PredictedMovementSystemParams &params, ::std::chrono::steady_clock::time_point const &timepoint)
MCAPI ~PredictedMovementComponent ()
MCAPI void * $ctor ()
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::std::unique_ptr<::PredictedMovementComponent::RuntimePredictionData > & mGlobalRuntimePredictionData ()

Public Attributes

::ll::TypedStorage< 1, 1, ::brstd::bitset< 2, uchar > > mDisableConditions
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PredictedMovementComponent::RuntimePredictionData > > mRuntimePredictionData
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::PredictedMovementComponent::HistoryItem const > > mLastStartItem
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::PredictedMovementComponent::HistoryItem const > > mLastEndItem
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::PredictedMovementComponent::HistoryCache > > mHistoryCache
::ll::TypedStorage< 1, 1, bool > mForceTeleportAfterResuming
::ll::TypedStorage< 1, 1, bool > mAllowTeleportingWithoutRegion
::ll::TypedStorage< 4, 4, uint > mLastCompletedInterpolationSequenceID
::ll::TypedStorage< 8, 64, ::std::function< void(::MovePredictionType)> > mPredictionEventsListenerFunc
::ll::TypedStorage< 8, 16, ::PredictedMovementValues > mPredictedMovementValues

Constructor & Destructor Documentation

◆ PredictedMovementComponent()

MCAPI PredictedMovementComponent::PredictedMovementComponent ( )
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.

◆ ~PredictedMovementComponent()

MCAPI PredictedMovementComponent::~PredictedMovementComponent ( )
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.

Member Function Documentation

◆ _debugLog()

MCAPI void PredictedMovementComponent::_debugLog ( ::PredictedMovementSystemParams & params,
::PredictedMovementComponent::PredictionDbgData const & debugData ) 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.

◆ reset()

MCAPI void PredictedMovementComponent::reset ( )
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.

◆ tickNextPosition()

MCAPI void PredictedMovementComponent::tickNextPosition ( ::PredictedMovementSystemParams & params,
::std::chrono::steady_clock::time_point const & timepoint )
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.

◆ mGlobalRuntimePredictionData()

MCAPI ::std::unique_ptr<::PredictedMovementComponent::RuntimePredictionData > & PredictedMovementComponent::mGlobalRuntimePredictionData ( )
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.

◆ $ctor()

MCAPI void * PredictedMovementComponent::$ctor ( )
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.

◆ $dtor()

MCAPI void PredictedMovementComponent::$dtor ( )
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: