Method | Description | |
---|---|---|
Compress ( uint &prevFrame, int &size ) : byte[] |
|
|
Decompress ( uint prevFrameId, byte snapshot ) : byte[] |
|
|
GetLag ( uint clientSnapshotID, |
Gets time lag between client and server. Sum???
|
|
Push ( |
|
|
Push ( System.TimeSpan timestamp, byte snapshot ) : void |
|
|
SnapshotQueue ( int capacity ) : System |
|
public Compress ( uint &prevFrame, int &size ) : byte[] | ||
prevFrame | uint | |
size | int | |
return | byte[] |
public Decompress ( uint prevFrameId, byte snapshot ) : byte[] | ||
prevFrameId | uint | |
snapshot | byte | |
return | byte[] |
public GetLag ( uint clientSnapshotID, |
||
clientSnapshotID | uint | |
currentGameTime | ||
return | float |
public Push ( System.TimeSpan timestamp, byte snapshot ) : void | ||
timestamp | System.TimeSpan | |
snapshot | byte | |
return | void |
public SnapshotQueue ( int capacity ) : System | ||
capacity | int | |
return | System |