C# Class OpenRA.GameInformation

Afficher le fichier Open project: pchote/OpenRA Class Usage Examples

Méthodes publiques

Свойство Type Description
EndTimeUtc System.DateTime
MapTitle string
MapUid string
Mod string
StartTimeUtc System.DateTime
Version string

Méthodes publiques

Méthode 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 méthode

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

Deserialize() public static méthode

public static Deserialize ( string data ) : GameInformation
data string
Résultat GameInformation

GameInformation() public méthode

public GameInformation ( ) : System
Résultat System

GetPlayer() public méthode

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

Serialize() public méthode

public Serialize ( ) : string
Résultat string

Property Details

EndTimeUtc public_oe property

Game end timestamp (when the recoding stopped).
public DateTime,System EndTimeUtc
Résultat System.DateTime

MapTitle public_oe property

public string MapTitle
Résultat string

MapUid public_oe property

public string MapUid
Résultat string

Mod public_oe property

public string Mod
Résultat string

StartTimeUtc public_oe property

Game start timestamp (when the recoding started).
public DateTime,System StartTimeUtc
Résultat System.DateTime

Version public_oe property

public string Version
Résultat string