Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Game.Multiplayer.MyClientCollection Class Reference

Public Member Functions

void SetLocalSteamId (ulong localSteamId, bool createLocalClient=false)
 
void Clear ()
 
bool TryGetClient (ulong steamId, out MyNetworkClient client)
 
bool HasClient (ulong steamId)
 
MyNetworkClient AddClient (ulong steamId)
 
void RemoveClient (ulong steamId)
 
Dictionary< ulong, MyNetworkClient >.ValueCollection GetClients ()
 

Public Attributes

Action< ulong > ClientAdded
 
Action< ulong > ClientRemoved
 

Properties

int Count [get]
 
MyNetworkClient LocalClient [get]
 

Detailed Description

Definition at line 13 of file MyClientCollection.cs.

Member Function Documentation

MyNetworkClient Sandbox.Game.Multiplayer.MyClientCollection.AddClient ( ulong  steamId)
inline

Definition at line 61 of file MyClientCollection.cs.

void Sandbox.Game.Multiplayer.MyClientCollection.Clear ( )
inline

Definition at line 45 of file MyClientCollection.cs.

Dictionary<ulong, MyNetworkClient>.ValueCollection Sandbox.Game.Multiplayer.MyClientCollection.GetClients ( )
inline

Definition at line 109 of file MyClientCollection.cs.

bool Sandbox.Game.Multiplayer.MyClientCollection.HasClient ( ulong  steamId)
inline

Definition at line 56 of file MyClientCollection.cs.

void Sandbox.Game.Multiplayer.MyClientCollection.RemoveClient ( ulong  steamId)
inline

Definition at line 78 of file MyClientCollection.cs.

void Sandbox.Game.Multiplayer.MyClientCollection.SetLocalSteamId ( ulong  localSteamId,
bool  createLocalClient = false 
)
inline

Definition at line 33 of file MyClientCollection.cs.

bool Sandbox.Game.Multiplayer.MyClientCollection.TryGetClient ( ulong  steamId,
out MyNetworkClient  client 
)
inline

Definition at line 50 of file MyClientCollection.cs.

Member Data Documentation

Action<ulong> Sandbox.Game.Multiplayer.MyClientCollection.ClientAdded

Definition at line 18 of file MyClientCollection.cs.

Action<ulong> Sandbox.Game.Multiplayer.MyClientCollection.ClientRemoved

Definition at line 19 of file MyClientCollection.cs.

Property Documentation

int Sandbox.Game.Multiplayer.MyClientCollection.Count
get

Definition at line 21 of file MyClientCollection.cs.

MyNetworkClient Sandbox.Game.Multiplayer.MyClientCollection.LocalClient
get

Definition at line 24 of file MyClientCollection.cs.


The documentation for this class was generated from the following file: