Space Engineers
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Engine.Multiplayer.MyMultiplayerClient Class Reference
Inheritance diagram for Sandbox.Engine.Multiplayer.MyMultiplayerClient:
Sandbox.Engine.Multiplayer.MyMultiplayerClientBase Sandbox.Engine.Multiplayer.MyMultiplayerBase VRage.Replication.IReplicationClientCallback

Public Member Functions

override void Dispose ()
 
override bool IsCorrectVersion ()
 
override MyDownloadWorldResult DownloadWorld ()
 
override void DownloadProfiler (int index)
 
override void DisconnectClient (ulong userId)
 
override void KickClient (ulong client)
 
override void BanClient (ulong client, bool ban)
 
override ulong GetMemberByIndex (int memberIndex)
 
override bool IsAdmin (ulong steamID)
 
override ulong GetOwner ()
 
override void SetOwner (ulong owner)
 
override LobbyTypeEnum GetLobbyType ()
 
override void SetLobbyType (LobbyTypeEnum type)
 
override void SetMemberLimit (int limit)
 
override void SendChatMessage (string text)
 
void LoadMembersFromWorld (List< MyObjectBuilder_Client > clients)
 
override string GetMemberName (ulong steamUserID)
 
void SendPlayerData (string clientName)
 
override void StartProcessingClientMessagesWithEmptyWorld ()
 Call when empty world is created (battle lobby) More...
 
override void OnAllMembersData (ref AllMembersDataMsg msg)
 
- Public Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerClientBase
MyTimeSpan GetUpdateTime ()
 
void SetNextFrameDelayDelta (int delay)
 
void SetPing (long duration)
 
float GetServerSimulationRatio ()
 
void DisconnectFromHost ()
 
- Public Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
void SendAck (ulong sendTo, int channel, int index, int head)
 
void SendHeaderAck (ulong sendTo, int channel)
 
MyObjectBuilder_World ProcessWorldDownloadResult (MyDownloadWorldResult result)
 
void StartProcessingClientMessages ()
 Call when downloaded world is loaded More...
 
void MarkPhysicsDirty (MySyncEntity entity)
 
void ReportReplicatedObjects ()
 
virtual void Tick ()
 
void SendAllMembersDataToClient (ulong clientId)
 

Public Attributes

Action OnJoin
 
- Public Attributes inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
readonly MySyncLayer SyncLayer
 

Protected Member Functions

override void OnChatMessage (ref ChatMsg msg)
 
override void OnClientKick (ref MyControlKickClientMsg data, ulong sender)
 
override void OnClientBan (ref MyControlBanClientMsg data, ulong sender)
 
- Protected Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerClientBase
 MyMultiplayerClientBase (MySyncLayer syncLayer)
 
- Protected Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
virtual void SetReplicationLayer (MyReplicationLayer layer)
 
void SendControlMessage< T > (ulong user, ref T message, bool reliable=true)
 
void OnAck (ref MyControlAckMessageMsg msg, ulong send)
 
void OnHeaderAck (ref MyControlAckHeaderMessageMsg msg, ulong send)
 
void OnWorldRequest (ref MyControlWorldRequestMsg data, ulong sender)
 
void OnProfilerRequest (ref MyControlProfilerMsg data, ulong sender)
 
virtual void OnScriptedChatMessage (ref ScriptedChatMsg msg)
 
void AddKickedClient (ulong userId)
 
void AddBannedClient (ulong userId)
 
void RemoveBannedClient (ulong userId)
 
bool IsClientKickedOrBanned (ulong userId)
 
void RaiseChatMessageReceived (ulong steamUserID, string messageText, ChatEntryTypeEnum chatEntryType)
 
void RaiseScriptedChatMessageReceived (string author, string messageText, string font)
 
void RaiseHostLeft ()
 
void RaiseClientLeft (ulong changedUser, ChatMemberStateChangeEnum stateChange)
 
void RaiseClientJoined (ulong changedUser)
 
void RaiseClientKicked (ulong user)
 
void CloseMemberSessions ()
 
void ProcessAllMembersData (ref AllMembersDataMsg msg)
 
MyClientState CreateClientState ()
 

Properties

override bool IsServer [get]
 
override string WorldName [get, set]
 
override MyGameModeEnum GameMode [get, set]
 
override float InventoryMultiplier [get, set]
 
override float AssemblerMultiplier [get, set]
 
override float RefineryMultiplier [get, set]
 
override float WelderMultiplier [get, set]
 
override float GrinderMultiplier [get, set]
 
override string HostName [get, set]
 
override ulong WorldSize [get, set]
 
override int AppVersion [get, set]
 
override string DataHash [get, set]
 
override int MaxPlayers [get]
 
override int ModCount [get, protected set]
 
override List< MyObjectBuilder_Checkpoint.ModItemMods [get, set]
 
override int ViewDistance [get, set]
 
override bool Scenario [get, set]
 
override string ScenarioBriefing [get, set]
 
override DateTime ScenarioStartTime [get, set]
 
GameServerItem Server [get]
 
new MyReplicationClient ReplicationLayer [get]
 
override MemberCollection Members [get]
 
override int MemberCount [get]
 
override ulong LobbyId [get]
 
override int MemberLimit [get, set]
 
- Properties inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
MyReplicationLayer ReplicationLayer [get]
 
ulong ServerId [get, protected set]
 
abstract bool IsServer [get]
 
float ServerSimulationRatio [get, set]
 
DictionaryReader< string, byte[]> VoxelMapData [get]
 
uint FrameCounter [get]
 
abstract string WorldName [get, set]
 
abstract MyGameModeEnum GameMode [get, set]
 
abstract float InventoryMultiplier [get, set]
 
abstract float AssemblerMultiplier [get, set]
 
abstract float RefineryMultiplier [get, set]
 
abstract float WelderMultiplier [get, set]
 
abstract float GrinderMultiplier [get, set]
 
abstract string HostName [get, set]
 
abstract ulong WorldSize [get, set]
 
abstract int AppVersion [get, set]
 
abstract string DataHash [get, set]
 
abstract int MaxPlayers [get]
 
abstract int ModCount [get, protected set]
 
abstract List< MyObjectBuilder_Checkpoint.ModItemMods [get, set]
 
abstract int ViewDistance [get, set]
 
abstract bool Scenario [get, set]
 
abstract string ScenarioBriefing [get, set]
 
abstract DateTime ScenarioStartTime [get, set]
 
bool IsConnectionDirect [get]
 
bool IsConnectionAlive [get]
 
DateTime LastMessageReceived [get]
 
abstract MemberCollection Members [get]
 
abstract int MemberCount [get]
 
abstract ulong LobbyId [get]
 
abstract int MemberLimit [get, set]
 

Additional Inherited Members

- Static Public Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
static void OnSetPriorityMultiplier (float priority)
 
static void SendElapsedGameTime ()
 
static void SendScriptedChatMessage (ref ScriptedChatMsg msg)
 
- Static Protected Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
static void SendChatMessage (ref ChatMsg msg)
 
- Events inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
Action< ulong > ClientJoined
 
Action< ulong, ChatMemberStateChangeEnum > ClientLeft
 
Action HostLeft
 
Action< ulong, string, ChatEntryTypeEnum > ChatMessageReceived
 
Action< string, string, string > ScriptedChatMessageReceived
 
Action< ulong > ClientKicked
 

Detailed Description

Definition at line 28 of file MyMultiplayerClient.cs.

Member Function Documentation

override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.BanClient ( ulong  client,
bool  ban 
)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.DisconnectClient ( ulong  userId)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.Dispose ( )
inlinevirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 250 of file MyMultiplayerClient.cs.

override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.DownloadProfiler ( int  index)
inlinevirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 340 of file MyMultiplayerClient.cs.

override MyDownloadWorldResult Sandbox.Engine.Multiplayer.MyMultiplayerClient.DownloadWorld ( )
inlinevirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 329 of file MyMultiplayerClient.cs.

override LobbyTypeEnum Sandbox.Engine.Multiplayer.MyMultiplayerClient.GetLobbyType ( )
inlinevirtual
override ulong Sandbox.Engine.Multiplayer.MyMultiplayerClient.GetMemberByIndex ( int  memberIndex)
inlinevirtual
override string Sandbox.Engine.Multiplayer.MyMultiplayerClient.GetMemberName ( ulong  steamUserID)
inlinevirtual
override ulong Sandbox.Engine.Multiplayer.MyMultiplayerClient.GetOwner ( )
inlinevirtual
override bool Sandbox.Engine.Multiplayer.MyMultiplayerClient.IsAdmin ( ulong  steamID)
inlinevirtual
override bool Sandbox.Engine.Multiplayer.MyMultiplayerClient.IsCorrectVersion ( )
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.KickClient ( ulong  client)
inlinevirtual
void Sandbox.Engine.Multiplayer.MyMultiplayerClient.LoadMembersFromWorld ( List< MyObjectBuilder_Client clients)
inline

Definition at line 615 of file MyMultiplayerClient.cs.

override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.OnAllMembersData ( ref AllMembersDataMsg  msg)
inlinevirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 740 of file MyMultiplayerClient.cs.

override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.OnChatMessage ( ref ChatMsg  msg)
inlineprotectedvirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 453 of file MyMultiplayerClient.cs.

override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.OnClientBan ( ref MyControlBanClientMsg  data,
ulong  sender 
)
inlineprotectedvirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.OnClientKick ( ref MyControlKickClientMsg  data,
ulong  sender 
)
inlineprotectedvirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.SendChatMessage ( string  text)
inlinevirtual
void Sandbox.Engine.Multiplayer.MyMultiplayerClient.SendPlayerData ( string  clientName)
inline

Definition at line 657 of file MyMultiplayerClient.cs.

override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.SetLobbyType ( LobbyTypeEnum  type)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.SetMemberLimit ( int  limit)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.SetOwner ( ulong  owner)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerClient.StartProcessingClientMessagesWithEmptyWorld ( )
inlinevirtual

Call when empty world is created (battle lobby)

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 727 of file MyMultiplayerClient.cs.

Member Data Documentation

Action Sandbox.Engine.Multiplayer.MyMultiplayerClient.OnJoin

Definition at line 50 of file MyMultiplayerClient.cs.

Property Documentation

override int Sandbox.Engine.Multiplayer.MyMultiplayerClient.AppVersion
getset

Definition at line 114 of file MyMultiplayerClient.cs.

override float Sandbox.Engine.Multiplayer.MyMultiplayerClient.AssemblerMultiplier
getset

Definition at line 78 of file MyMultiplayerClient.cs.

override string Sandbox.Engine.Multiplayer.MyMultiplayerClient.DataHash
getset

Definition at line 120 of file MyMultiplayerClient.cs.

override MyGameModeEnum Sandbox.Engine.Multiplayer.MyMultiplayerClient.GameMode
getset

Definition at line 66 of file MyMultiplayerClient.cs.

override float Sandbox.Engine.Multiplayer.MyMultiplayerClient.GrinderMultiplier
getset

Definition at line 96 of file MyMultiplayerClient.cs.

override string Sandbox.Engine.Multiplayer.MyMultiplayerClient.HostName
getset

Definition at line 102 of file MyMultiplayerClient.cs.

override float Sandbox.Engine.Multiplayer.MyMultiplayerClient.InventoryMultiplier
getset

Definition at line 72 of file MyMultiplayerClient.cs.

override bool Sandbox.Engine.Multiplayer.MyMultiplayerClient.IsServer
get

Definition at line 57 of file MyMultiplayerClient.cs.

override ulong Sandbox.Engine.Multiplayer.MyMultiplayerClient.LobbyId
get

Definition at line 412 of file MyMultiplayerClient.cs.

override int Sandbox.Engine.Multiplayer.MyMultiplayerClient.MaxPlayers
get

Definition at line 126 of file MyMultiplayerClient.cs.

override int Sandbox.Engine.Multiplayer.MyMultiplayerClient.MemberCount
get

Definition at line 402 of file MyMultiplayerClient.cs.

override int Sandbox.Engine.Multiplayer.MyMultiplayerClient.MemberLimit
getset

Definition at line 417 of file MyMultiplayerClient.cs.

override MemberCollection Sandbox.Engine.Multiplayer.MyMultiplayerClient.Members
get

Definition at line 397 of file MyMultiplayerClient.cs.

override int Sandbox.Engine.Multiplayer.MyMultiplayerClient.ModCount
getprotected set

Definition at line 131 of file MyMultiplayerClient.cs.

override List<MyObjectBuilder_Checkpoint.ModItem> Sandbox.Engine.Multiplayer.MyMultiplayerClient.Mods
getset

Definition at line 138 of file MyMultiplayerClient.cs.

override float Sandbox.Engine.Multiplayer.MyMultiplayerClient.RefineryMultiplier
getset

Definition at line 84 of file MyMultiplayerClient.cs.

new MyReplicationClient Sandbox.Engine.Multiplayer.MyMultiplayerClient.ReplicationLayer
get

Definition at line 171 of file MyMultiplayerClient.cs.

override bool Sandbox.Engine.Multiplayer.MyMultiplayerClient.Scenario
getset

Definition at line 150 of file MyMultiplayerClient.cs.

override string Sandbox.Engine.Multiplayer.MyMultiplayerClient.ScenarioBriefing
getset

Definition at line 156 of file MyMultiplayerClient.cs.

override DateTime Sandbox.Engine.Multiplayer.MyMultiplayerClient.ScenarioStartTime
getset

Definition at line 162 of file MyMultiplayerClient.cs.

GameServerItem Sandbox.Engine.Multiplayer.MyMultiplayerClient.Server
get

Definition at line 167 of file MyMultiplayerClient.cs.

override int Sandbox.Engine.Multiplayer.MyMultiplayerClient.ViewDistance
getset

Definition at line 147 of file MyMultiplayerClient.cs.

override float Sandbox.Engine.Multiplayer.MyMultiplayerClient.WelderMultiplier
getset

Definition at line 90 of file MyMultiplayerClient.cs.

override string Sandbox.Engine.Multiplayer.MyMultiplayerClient.WorldName
getset

Definition at line 60 of file MyMultiplayerClient.cs.

override ulong Sandbox.Engine.Multiplayer.MyMultiplayerClient.WorldSize
getset

Definition at line 108 of file MyMultiplayerClient.cs.


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