C# Class ACR_ServerCommunicator.ServerLatencyMeasurer.PingState

Ping state communicated across the channel.
Afficher le fichier Open project: ALandFarAway/ALFA-Base-Resources

Méthodes publiques

Свойство Type Description
PCObjectId uint
TickCount int

Méthodes publiques

Méthode Description
FromString ( string Arguments ) : PingState

Deserialize the state from a string.

PingState ( uint PCObjectId, int TickCount ) : System

Construct a new PingState object.

ToString ( ) : string

Convert the state to a string.

Method Details

FromString() public static méthode

Deserialize the state from a string.
public static FromString ( string Arguments ) : PingState
Arguments string Supplies the state string that was /// constructed by a call to ToString().
Résultat PingState

PingState() public méthode

Construct a new PingState object.
public PingState ( uint PCObjectId, int TickCount ) : System
PCObjectId uint Supplies the player id.
TickCount int Supplies the tick count.
Résultat System

ToString() public méthode

Convert the state to a string.
public ToString ( ) : string
Résultat string

Property Details

PCObjectId public_oe property

The PC object ID of the requesting player.
public uint PCObjectId
Résultat uint

TickCount public_oe property

The tick count snapped at the start of the ping request.
public int TickCount
Résultat int