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< 4, 4, ::std::bitset< 2 > > 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
 

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