C# Class OpenRA.GameInformation

Mostrar archivo Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
EndTimeUtc System.DateTime
MapTitle string
MapUid string
Mod string
StartTimeUtc System.DateTime
Version string

Public Methods

Method Description
AddPlayer ( OpenRA runtimePlayer, Session lobbyInfo ) : void

Adds the player information at start-up.

Deserialize ( string data ) : GameInformation
GameInformation ( ) : System
GetPlayer ( OpenRA runtimePlayer ) : Player

Gets the player information for the specified runtime player instance.

Serialize ( ) : string

Method Details

AddPlayer() public method

Adds the player information at start-up.
public AddPlayer ( OpenRA runtimePlayer, Session lobbyInfo ) : void
runtimePlayer OpenRA
lobbyInfo OpenRA.Network.Session
return void

Deserialize() public static method

public static Deserialize ( string data ) : GameInformation
data string
return GameInformation

GameInformation() public method

public GameInformation ( ) : System
return System

GetPlayer() public method

Gets the player information for the specified runtime player instance.
public GetPlayer ( OpenRA runtimePlayer ) : Player
runtimePlayer OpenRA
return Player

Serialize() public method

public Serialize ( ) : string
return string

Property Details

EndTimeUtc public_oe property

Game end timestamp (when the recoding stopped).
public DateTime,System EndTimeUtc
return System.DateTime

MapTitle public_oe property

public string MapTitle
return string

MapUid public_oe property

public string MapUid
return string

Mod public_oe property

public string Mod
return string

StartTimeUtc public_oe property

Game start timestamp (when the recoding started).
public DateTime,System StartTimeUtc
return System.DateTime

Version public_oe property

public string Version
return string