|
Rebel Fork Framework
|
Aggregate network-related callbacks used by NetworkObject and NetworkBehavior. More...
#include <Urho3D/Replica/NetworkCallbacks.h>
Public Member Functions | |
| virtual void | InitializeStandalone () |
| Initialize object in standalone mode when neither server nor client is running. | |
| virtual void | Update (float replicaTimeStep, float inputTimeStep) |
| Process generic network update. | |
| virtual void | PostUpdate (float replicaTimeStep, float inputTimeStep) |
| Process generic network post-update. | |
Public Member Functions inherited from Urho3D::ServerNetworkCallback | |
| virtual void | InitializeOnServer () |
| Perform initialization. Called once. | |
| virtual ea::optional< NetworkObjectRelevance > | GetRelevanceForClient (AbstractConnection *connection) |
| virtual void | UpdateTransformOnServer () |
| Called when world transform or parent of the object is updated in Server mode. | |
| virtual void | WriteSnapshot (NetworkFrame frame, Serializer &dest) |
| Write full snapshot. | |
| virtual bool | PrepareReliableDelta (NetworkFrame frame) |
| Prepare for reliable delta update and return update mask. If mask is zero, reliable delta update is skipped. | |
| virtual void | WriteReliableDelta (NetworkFrame frame, Serializer &dest) |
| Write reliable delta update. Delta is applied to previous delta or snapshot. | |
| virtual bool | PrepareUnreliableDelta (NetworkFrame frame) |
| Prepare for unreliable delta update and return update mask. If mask is zero, unreliable delta update is skipped. | |
| virtual void | WriteUnreliableDelta (NetworkFrame frame, Serializer &dest) |
| Write unreliable delta update. | |
| virtual void | ReadUnreliableFeedback (NetworkFrame feedbackFrame, Deserializer &src) |
| Read unreliable feedback from client. | |
Public Member Functions inherited from Urho3D::ClientNetworkCallback | |
| virtual void | InitializeFromSnapshot (NetworkFrame frame, Deserializer &src, bool isOwned) |
| Read full snapshot and initialize object. Called once. | |
| virtual void | PrepareToRemove () |
| This component is about to be removed by the authority of the server. | |
| virtual void | InterpolateState (float replicaTimeStep, float inputTimeStep, const NetworkTime &replicaTime, const NetworkTime &inputTime) |
| Interpolate replicated state. | |
| virtual void | ReadReliableDelta (NetworkFrame frame, Deserializer &src) |
| Read reliable delta update. Delta is applied to previous reliable delta or snapshot message. | |
| virtual void | ReadUnreliableDelta (NetworkFrame frame, Deserializer &src) |
| Read unreliable delta update. | |
| virtual bool | PrepareUnreliableFeedback (NetworkFrame frame) |
| Prepare for unreliable feedback and return feedback mask. If mask is zero, unreliable feedback is skipped. | |
| virtual void | WriteUnreliableFeedback (NetworkFrame frame, Serializer &dest) |
| Write unreliable feedback from client. | |
Aggregate network-related callbacks used by NetworkObject and NetworkBehavior.
|
inlinevirtual |
Initialize object in standalone mode when neither server nor client is running.
Reimplemented in Urho3D::BaseFeedbackBehavior< T >, Urho3D::BehaviorNetworkObject, and Urho3D::ReplicatedAnimation.
|
inlinevirtual |
Process generic network post-update.
Reimplemented in Urho3D::BehaviorNetworkObject, and Urho3D::ReplicatedAnimation.
|
inlinevirtual |
Process generic network update.
Reimplemented in Urho3D::BehaviorNetworkObject.