C# Class ACR_ServerCommunicator.GUIResynchronizer.ResyncState

Resync state for a player.
Show file Open project: ALandFarAway/ALFA-Base-Resources

Public Properties

Property Type Description
PlayerId int
ResyncFlags uint

Public Methods

Method Description
FromString ( string ResyncCommand ) : ResyncState

Deserialize the resynchronization state from a string.

ResyncState ( int PlayerId, uint ResyncFlags ) : System

Construct a new ResyncState object.

ToString ( ) : string

Convert the resynchronization state to a string.

Method Details

FromString() public static method

Deserialize the resynchronization state from a string.
public static FromString ( string ResyncCommand ) : ResyncState
ResyncCommand string Supplies the state string that was /// constructed by a call to ToString().
return ResyncState

ResyncState() public method

Construct a new ResyncState object.
public ResyncState ( int PlayerId, uint ResyncFlags ) : System
PlayerId int Supplies the player id.
ResyncFlags uint Supplies the resync flags.
return System

ToString() public method

Convert the resynchronization state to a string.
public ToString ( ) : string
return string

Property Details

PlayerId public property

The player id of the player.
public int PlayerId
return int

ResyncFlags public property

The resync flags for the request.
public uint ResyncFlags
return uint