Click or drag to resize

LagCompensationManager Class

[This is preliminary documentation and is subject to change.]

The main class for controlling lag compensation
Inheritance Hierarchy
SystemObject
  MLAPI.NetworkingManagerComponentsLagCompensationManager

Namespace:  MLAPI.NetworkingManagerComponents
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static class LagCompensationManager
Request Example View Source

The LagCompensationManager type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberSimulationObjects
Simulation objects
Top
Methods
  NameDescription
Public methodStatic memberSimulate(Int32, Action)
Turns time back a given amount of seconds, invokes an action and turns it back. The time is based on the estimated RTT of a clientId
Public methodStatic memberSimulate(Single, Action)
Turns time back a given amount of seconds, invokes an action and turns it back
Top
See Also