Replication state shared between all clients.
More...
#include <Urho3D/Replica/ServerReplicator.h>
|
| SharedReplicationState (NetworkObjectRegistry *objectRegistry) |
|
void | PrepareForUpdate () |
| Initial preparation for network update.
|
|
void | QueueDeltaUpdate (NetworkObject *networkObject) |
| Request delta update to be prepared for specified object.
|
|
void | CookDeltaUpdates (NetworkFrame currentFrame) |
| Cook all requested delta updates.
|
|
|
const ea::unordered_set< NetworkId > & | GetRecentlyRemovedObjects () const |
|
const ea::vector< NetworkObject * > & | GetSortedObjects () const |
|
unsigned | GetIndexUpperBound () const |
|
const ea::unordered_set< NetworkObject * > & | GetOwnedObjectsByConnection (AbstractConnection *connection) const |
|
ea::optional< ConstByteSpan > | GetReliableUpdateByIndex (unsigned index) const |
|
ea::optional< ConstByteSpan > | GetUnreliableUpdateByIndex (unsigned index) const |
|
| RefCounted () |
| Construct. Allocate the reference count structure and set an initial self weak reference.
|
|
virtual | ~RefCounted () |
| Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist.
|
|
| RefCounted (const RefCounted &rhs)=delete |
| Prevent copy construction.
|
|
RefCounted & | operator= (const RefCounted &rhs)=delete |
| Prevent assignment.
|
|
int | AddRef () |
|
int | ReleaseRef () |
|
int | Refs () const |
|
int | WeakRefs () const |
|
RefCount * | RefCountPtr () const |
| Return pointer to the reference count structure.
|
|
bool | HasScriptObject () const |
| Return true if script runtime object wrapping this native object exists.
|
|
bool | IsScriptStrongRef () const |
| Return true if script reference is strong.
|
|
|
void | OnNetworkObjectAdded (NetworkObject *networkObject) |
|
void | OnNetworkObjectRemoved (NetworkObject *networkObject) |
|
void | ResetFrameBuffers () |
|
void | InitializeNewObjects () |
|
ConstByteSpan | GetSpanData (const DeltaBufferSpan &span) const |
|
Replication state shared between all clients.
◆ GetRecentlyRemovedObjects()
const ea::unordered_set< NetworkId > & Urho3D::SharedReplicationState::GetRecentlyRemovedObjects |
( |
| ) |
const |
|
inline |
Return state of the current frame.
The documentation for this class was generated from the following files: