Rebel Fork Framework
Urho3D::Detail::NetworkValueBase Class Reference

Base class for NetworkValue and NetworkValueVector. More...

#include <Urho3D/Replica/NetworkValue.h>

Inheritance diagram for Urho3D::Detail::NetworkValueBase:
Urho3D::NetworkValue< T, Traits > Urho3D::NetworkValue< Urho3D::BaseFeedbackBehavior::InputFrameData > Urho3D::NetworkValue< AnimationSnapshot > Urho3D::NetworkValue< Urho3D::ValueWithDerivative< DoubleVector3 > > Urho3D::NetworkValue< Urho3D::ValueWithDerivative< Quaternion > > Urho3D::NetworkValue< float > Urho3D::NetworkValue< Urho3D::DoubleTransform > Urho3D::NetworkValue< Urho3D::BoundingBox > Urho3D::NetworkValueVector< Urho3D::DoubleTransform > Urho3D::NetworkValue< T, Traits > Urho3D::NetworkValueVector< T, Traits >

Classes

struct  InterpolationBase

Public Member Functions

bool IsInitialized () const
unsigned GetCapacity () const
NetworkFrame GetFirstFrame () const
NetworkFrame GetLastFrame () const
void Resize (unsigned capacity)
ea::optional< unsigned > FrameToIndex (NetworkFrame frame) const
unsigned FrameToIndexUnchecked (NetworkFrame frame) const
ea::optional< unsigned > AllocatedFrameToIndex (NetworkFrame frame) const
template<class T>
bool AllocateFrame (NetworkFrame frame, const T &compressCallback)
bool HasFrame (NetworkFrame frame) const
ea::optional< NetworkFrame > FindClosestAllocatedFrame (NetworkFrame frame, bool searchPast, bool searchFuture) const
NetworkFrame GetClosestAllocatedFrame (NetworkFrame frame) const
InterpolationBase GetValidFrameInterpolation (const NetworkTime &time) const

Private Attributes

bool initialized_ {}
NetworkFrame lastFrame_ {}
unsigned lastIndex_ {}
ea::vector< bool > hasFrameByIndex_

Detailed Description

Base class for NetworkValue and NetworkValueVector.


The documentation for this class was generated from the following file:
  • Urho3D/Replica/NetworkValue.h