C# Class OpenRA.Network.Session.Global

Mostra file Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
AllowSpectators bool
AllowVersionMismatch bool
EnableSingleplayer bool
GameUid string
Map string
OrderLatency int
RandomSeed int
ServerName string
Timestep int

Public Methods

Method Description
Deserialize ( OpenRA.FileFormats.MiniYaml data ) : Global
OptionOrDefault ( string id, bool def ) : bool
OptionOrDefault ( string id, string def ) : string
Serialize ( ) : MiniYamlNode

Method Details

Deserialize() public static method

public static Deserialize ( OpenRA.FileFormats.MiniYaml data ) : Global
data OpenRA.FileFormats.MiniYaml
return Global

OptionOrDefault() public method

public OptionOrDefault ( string id, bool def ) : bool
id string
def bool
return bool

OptionOrDefault() public method

public OptionOrDefault ( string id, string def ) : string
id string
def string
return string

Serialize() public method

public Serialize ( ) : MiniYamlNode
return MiniYamlNode

Property Details

AllowSpectators public_oe property

public bool AllowSpectators
return bool

AllowVersionMismatch public_oe property

public bool AllowVersionMismatch
return bool

EnableSingleplayer public_oe property

public bool EnableSingleplayer
return bool

GameUid public_oe property

public string GameUid
return string

Map public_oe property

public string Map
return string

OrderLatency public_oe property

public int OrderLatency
return int

RandomSeed public_oe property

public int RandomSeed
return int

ServerName public_oe property

public string ServerName
return string

Timestep public_oe property

public int Timestep
return int