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< AnimationSnapshot > Urho3D::NetworkValue< Urho3D::BoundingBox > Urho3D::NetworkValue< Urho3D::Matrix3x4 > Urho3D::NetworkValue< Urho3D::ValueWithDerivative > Urho3D::NetworkValue< Urho3D::ValueWithDerivative< Quaternion > > Urho3D::NetworkValueVector< Urho3D::Quaternion > Urho3D::NetworkValueVector< Urho3D::Vector3 > 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
 
bool AllocateFrame (NetworkFrame frame)
 
bool HasFrame (NetworkFrame frame) const
 
ea::optional< NetworkFrameFindClosestAllocatedFrame (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: