Rebel Fork Framework
Urho3D::NetworkSettings Namespace Reference

Network parameters supported by the engine. More...

Detailed Description

Network parameters supported by the engine.

Function Documentation

◆ URHO3D_NETWORK_SETTING() [1/5]

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_NETWORK_SETTING() [2/5]

Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING ( InternalProtocolVersion  ,
unsigned  ,
 
)

Version of internal protocol.

Internal properties. Do not override.

◆ URHO3D_NETWORK_SETTING() [3/5]

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_NETWORK_SETTING() [4/5]

Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING ( PeriodicClockInterval  ,
float  ,
1.  0f 
)

Interval in seconds between periodic clock updates.

Server-only properties ignored by the client.

◆ URHO3D_NETWORK_SETTING() [5/5]

Urho3D::NetworkSettings::URHO3D_NETWORK_SETTING ( TimeErrorTolerance  ,
float  ,
0.  002f 
)

Minimal time error that is not ignored.

Client-only properties ignored by the server.