|
Rebel Fork Framework
|
Network parameters supported by the engine. More...
Functions | |
| URHO3D_NETWORK_SETTING (InternalProtocolVersion, unsigned, 1) | |
| Version of internal protocol. | |
| URHO3D_NETWORK_SETTING (UpdateFrequency, unsigned, 30) | |
| Update frequency of the server, frames per second. | |
| URHO3D_NETWORK_SETTING (ConnectionId, unsigned, 0) | |
| Connection ID of current client. | |
| URHO3D_NETWORK_SETTING (InterpolationLimit, float, 0.25f) | |
| Maximum allowed delay between server time and replica time. Client must extrapolate if its delay is bigger. | |
| URHO3D_NETWORK_SETTING (MaxInputFrames, unsigned, 256) | |
| Maximum number of input frames tracked by the client. | |
| URHO3D_NETWORK_SETTING (MaxInputRedundancy, unsigned, 32) | |
| Maximum number of input frames sent to server including relevant frame. | |
| URHO3D_NETWORK_SETTING (PeriodicClockInterval, float, 1.0f) | |
| Interval in seconds between periodic clock updates. | |
| URHO3D_NETWORK_SETTING (InputDelayFilterBufferSize, unsigned, 11) | |
| Number of clock ticks used to filter input delay. | |
| URHO3D_NETWORK_SETTING (InputBufferingFilterBufferSize, unsigned, 11) | |
| Number of clock ticks used to filter input buffer. | |
| URHO3D_NETWORK_SETTING (InputBufferingWindowSize, unsigned, 128) | |
| Number of frames used to evaluate recommended input buffering. | |
| URHO3D_NETWORK_SETTING (InputBufferingTweakA, float, 1.3f) | |
| URHO3D_NETWORK_SETTING (InputBufferingTweakB, float, 1.0f) | |
| URHO3D_NETWORK_SETTING (InputBufferingMin, unsigned, 0) | |
| URHO3D_NETWORK_SETTING (InputBufferingMax, unsigned, 8) | |
| URHO3D_NETWORK_SETTING (RelevanceTimeout, float, 5.0f) | |
| Interval in seconds between NetworkObject becoming unneeded for client and replication stopped. | |
| URHO3D_NETWORK_SETTING (ServerTracingDuration, float, 5.0f) | |
| Duration in seconds of value tracking on server. Used for lag compensation. | |
| URHO3D_NETWORK_SETTING (TimeErrorTolerance, float, 0.002f) | |
| Minimal time error that is not ignored. | |
| URHO3D_NETWORK_SETTING (TimeSnapThreshold, float, 2.5f) | |
| Limit of smooth time adjustment. Larger errors are corrected immediately. | |
| URHO3D_NETWORK_SETTING (MinTimeDilation, float, 0.7f) | |
| Minimal time dilation factor. | |
| URHO3D_NETWORK_SETTING (MaxTimeDilation, float, 1.5f) | |
| Maximal time dilation factor. | |
| URHO3D_NETWORK_SETTING (InterpolationDelay, float, 0.1f) | |
| Delay in seconds before delivered updates are used for replica interpolation. | |
| URHO3D_NETWORK_SETTING (ClientTracingDuration, float, 3.0f) | |
| Duration in seconds of value tracking on client. Used for interpolation. | |
| URHO3D_NETWORK_SETTING (ExtrapolationLimit, float, 0.5f) | |
| Duration in seconds of value extrapolation. Beyond this limit the value stays fixed. | |
Network parameters supported by the engine.
| Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING | ( | InputBufferingTweakA | , |
| float | , | ||
| 1. | 3f ) |
Input buffering is calculated as clamp(round(x*tweakA + tweakB), min, max), where x is magical statistics that roughly corresponds to the max amount of consecutive frame loss.
| Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING | ( | InternalProtocolVersion | , |
| unsigned | , | ||
| 1 | ) |
Version of internal protocol.
Internal properties. Do not override.
| Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING | ( | InterpolationLimit | , |
| float | , | ||
| 0. | 25f ) |
Maximum allowed delay between server time and replica time. Client must extrapolate if its delay is bigger.
Common properties between client and server.
| Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING | ( | PeriodicClockInterval | , |
| float | , | ||
| 1. | 0f ) |
Interval in seconds between periodic clock updates.
Server-only properties ignored by the client.
| Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING | ( | TimeErrorTolerance | , |
| float | , | ||
| 0. | 002f ) |
Minimal time error that is not ignored.
Client-only properties ignored by the server.