LeviLamina
Loading...
Searching...
No Matches
PredictedMovementComponent Class Reference

Classes

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

Public Types

using PredictionEventsListenerFunction = ::std::function<void(::MovePredictionType)>
 

Public Member Functions

MCAPI void _debugLog (::PredictedMovementSystemParams &params, ::PredictedMovementComponent::PredictionDbgData const &debugData) const
 
MCAPI bool _tryInterpolate (::PredictedMovementSystemParams &params, ::std::chrono::steady_clock::time_point const &renderTimepoint)
 
MCAPI void reset ()
 
MCAPI void tickNextPosition (::PredictedMovementSystemParams &params, ::std::chrono::steady_clock::time_point const &timepoint)
 

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, ::PredictedMovementValuesmPredictedMovementValues
 

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.

◆ _tryInterpolate()

MCAPI bool PredictedMovementComponent::_tryInterpolate ( ::PredictedMovementSystemParams & params,
::std::chrono::steady_clock::time_point const & renderTimepoint )
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()

static 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.

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