C# Class OpenRA.Network.Session

Datei anzeigen Open project: pchote/OpenRA Class Usage Examples

Public Properties

Property Type Description
ClientPings List
Clients List
GlobalSettings Global
Slots Slot>.Dictionary

Public Methods

Method Description
ClientInSlot ( string slot ) : Client
ClientWithIndex ( int clientID ) : Client
Deserialize ( string data ) : Session
FirstEmptyBotSlot ( ) : string
FirstEmptySlot ( ) : string
PingFromClient ( Client client ) : ClientPing
Serialize ( ) : string

Method Details

ClientInSlot() public method

public ClientInSlot ( string slot ) : Client
slot string
return Client

ClientWithIndex() public method

public ClientWithIndex ( int clientID ) : Client
clientID int
return Client

Deserialize() public static method

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

FirstEmptyBotSlot() public method

public FirstEmptyBotSlot ( ) : string
return string

FirstEmptySlot() public method

public FirstEmptySlot ( ) : string
return string

PingFromClient() public method

public PingFromClient ( Client client ) : ClientPing
client Client
return ClientPing

Serialize() public method

public Serialize ( ) : string
return string

Property Details

ClientPings public_oe property

public List ClientPings
return List

Clients public_oe property

public List Clients
return List

GlobalSettings public_oe property

public Global GlobalSettings
return Global

Slots public_oe property

public Dictionary Slots
return Slot>.Dictionary