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

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