Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
Sandbox.Engine.Multiplayer.MyMultiplayerLobby Class Reference

Container of multiplayer classes More...

Inheritance diagram for Sandbox.Engine.Multiplayer.MyMultiplayerLobby:
Sandbox.Engine.Multiplayer.MyMultiplayerServerBase Sandbox.Engine.Multiplayer.MyMultiplayerBase VRage.Replication.IReplicationServerCallback

Public Member Functions

override bool IsCorrectVersion ()
 
override MyDownloadWorldResult DownloadWorld ()
 
override void DisconnectClient (ulong userId)
 
override void KickClient (ulong userId)
 
override void BanClient (ulong userId, bool banned)
 
override void Tick ()
 
override void SendChatMessage (string text)
 
override void Dispose ()
 
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 string GetMemberName (ulong steamUserID)
 
- Public Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerServerBase
 MyMultiplayerServerBase (MySyncLayer syncLayer, EndpointId?localClientEndpoint)
 Initializes a new instance of the MyMultiplayerServerBase class. More...
 
void RaiseReplicableCreated (object obj)
 
override void Dispose ()
 
MyTimeSpan GetUpdateTime ()
 
- 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)
 
virtual void DownloadProfiler (int index)
 
MyObjectBuilder_World ProcessWorldDownloadResult (MyDownloadWorldResult result)
 
void StartProcessingClientMessages ()
 Call when downloaded world is loaded More...
 
virtual void StartProcessingClientMessagesWithEmptyWorld ()
 Call when empty world is created (battle lobby) More...
 
void MarkPhysicsDirty (MySyncEntity entity)
 
void ReportReplicatedObjects ()
 
void SendAllMembersDataToClient (ulong clientId)
 
virtual void OnAllMembersData (ref AllMembersDataMsg msg)
 

Static Public Member Functions

static bool IsLobbyCorrectVersion (Lobby lobby)
 
static MyGameModeEnum GetLobbyGameMode (Lobby lobby)
 
static float GetLobbyFloat (string key, Lobby lobby, float defValue)
 
static int GetLobbyInt (string key, Lobby lobby, int defValue)
 
static DateTime GetLobbyDateTime (string key, Lobby lobby, DateTime defValue)
 
static long GetLobbyLong (string key, Lobby lobby, long defValue)
 
static ulong GetLobbyULong (string key, Lobby lobby, ulong defValue)
 
static bool GetLobbyBool (string key, Lobby lobby, bool defValue)
 
static string GetLobbyWorldName (Lobby lobby)
 
static ulong GetLobbyWorldSize (Lobby lobby)
 
static string GetLobbyHostName (Lobby lobby)
 
static int GetLobbyAppVersion (Lobby lobby)
 
static ulong GetLobbyHostSteamId (Lobby lobby)
 
static string GetDataHash (Lobby lobby)
 
static bool HasSameData (Lobby lobby)
 
static int GetLobbyModCount (Lobby lobby)
 
static List< MyObjectBuilder_Checkpoint.ModItemGetLobbyMods (Lobby lobby)
 
static int GetLobbyViewDistance (Lobby lobby)
 
static bool GetLobbyScenario (Lobby lobby)
 
static string GetLobbyScenarioBriefing (Lobby lobby)
 
- Static Public Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
static void OnSetPriorityMultiplier (float priority)
 
static void SendElapsedGameTime ()
 
static void SendScriptedChatMessage (ref ScriptedChatMsg msg)
 

Public Attributes

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

Protected Member Functions

override void OnClientKick (ref MyControlKickClientMsg data, ulong kicked)
 
override void OnClientBan (ref MyControlBanClientMsg data, ulong kicked)
 
- 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 OnChatMessage (ref ChatMsg msg)
 
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]
 
ulong HostSteamId [get, set]
 
override MemberCollection Members [get]
 
override int MemberCount [get]
 
override ulong LobbyId [get]
 
override int MemberLimit [get, set]
 
- Properties inherited from Sandbox.Engine.Multiplayer.MyMultiplayerServerBase
new MyReplicationServer ReplicationLayer [get]
 
- 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 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

Container of multiplayer classes

Definition at line 30 of file MyMultiplayerLobby.cs.

Member Function Documentation

override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.BanClient ( ulong  userId,
bool  banned 
)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.DisconnectClient ( ulong  userId)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.Dispose ( )
inlinevirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 480 of file MyMultiplayerLobby.cs.

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

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 390 of file MyMultiplayerLobby.cs.

static string Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetDataHash ( Lobby  lobby)
inlinestatic

Definition at line 651 of file MyMultiplayerLobby.cs.

static int Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyAppVersion ( Lobby  lobby)
inlinestatic

Definition at line 640 of file MyMultiplayerLobby.cs.

static bool Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyBool ( string  key,
Lobby  lobby,
bool  defValue 
)
inlinestatic

Definition at line 612 of file MyMultiplayerLobby.cs.

static DateTime Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyDateTime ( string  key,
Lobby  lobby,
DateTime  defValue 
)
inlinestatic

Definition at line 585 of file MyMultiplayerLobby.cs.

static float Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyFloat ( string  key,
Lobby  lobby,
float  defValue 
)
inlinestatic

Definition at line 567 of file MyMultiplayerLobby.cs.

static MyGameModeEnum Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyGameMode ( Lobby  lobby)
inlinestatic

Definition at line 558 of file MyMultiplayerLobby.cs.

static string Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyHostName ( Lobby  lobby)
inlinestatic

Definition at line 635 of file MyMultiplayerLobby.cs.

static ulong Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyHostSteamId ( Lobby  lobby)
inlinestatic

Definition at line 646 of file MyMultiplayerLobby.cs.

static int Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyInt ( string  key,
Lobby  lobby,
int  defValue 
)
inlinestatic

Definition at line 576 of file MyMultiplayerLobby.cs.

static long Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyLong ( string  key,
Lobby  lobby,
long  defValue 
)
inlinestatic

Definition at line 594 of file MyMultiplayerLobby.cs.

static int Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyModCount ( Lobby  lobby)
inlinestatic

Definition at line 668 of file MyMultiplayerLobby.cs.

static List<MyObjectBuilder_Checkpoint.ModItem> Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyMods ( Lobby  lobby)
inlinestatic

Definition at line 673 of file MyMultiplayerLobby.cs.

static bool Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyScenario ( Lobby  lobby)
inlinestatic

Definition at line 703 of file MyMultiplayerLobby.cs.

static string Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyScenarioBriefing ( Lobby  lobby)
inlinestatic

Definition at line 708 of file MyMultiplayerLobby.cs.

override LobbyTypeEnum Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyType ( )
inlinevirtual
static ulong Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyULong ( string  key,
Lobby  lobby,
ulong  defValue 
)
inlinestatic

Definition at line 603 of file MyMultiplayerLobby.cs.

static int Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyViewDistance ( Lobby  lobby)
inlinestatic

Definition at line 698 of file MyMultiplayerLobby.cs.

static string Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyWorldName ( Lobby  lobby)
inlinestatic

Definition at line 621 of file MyMultiplayerLobby.cs.

static ulong Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetLobbyWorldSize ( Lobby  lobby)
inlinestatic

Definition at line 626 of file MyMultiplayerLobby.cs.

override ulong Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetMemberByIndex ( int  memberIndex)
inlinevirtual
override string Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetMemberName ( ulong  steamUserID)
inlinevirtual
override ulong Sandbox.Engine.Multiplayer.MyMultiplayerLobby.GetOwner ( )
inlinevirtual
static bool Sandbox.Engine.Multiplayer.MyMultiplayerLobby.HasSameData ( Lobby  lobby)
inlinestatic

Definition at line 656 of file MyMultiplayerLobby.cs.

override bool Sandbox.Engine.Multiplayer.MyMultiplayerLobby.IsAdmin ( ulong  steamID)
inlinevirtual
override bool Sandbox.Engine.Multiplayer.MyMultiplayerLobby.IsCorrectVersion ( )
inlinevirtual
static bool Sandbox.Engine.Multiplayer.MyMultiplayerLobby.IsLobbyCorrectVersion ( Lobby  lobby)
inlinestatic

Definition at line 553 of file MyMultiplayerLobby.cs.

override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.KickClient ( ulong  userId)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.OnClientBan ( ref MyControlBanClientMsg  data,
ulong  kicked 
)
inlineprotectedvirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.OnClientKick ( ref MyControlKickClientMsg  data,
ulong  kicked 
)
inlineprotectedvirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.SendChatMessage ( string  text)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.SetLobbyType ( LobbyTypeEnum  type)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.SetMemberLimit ( int  limit)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.SetOwner ( ulong  owner)
inlinevirtual
override void Sandbox.Engine.Multiplayer.MyMultiplayerLobby.Tick ( )
inlinevirtual

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 427 of file MyMultiplayerLobby.cs.

Member Data Documentation

readonly Lobby Sandbox.Engine.Multiplayer.MyMultiplayerLobby.Lobby

Definition at line 32 of file MyMultiplayerLobby.cs.

Property Documentation

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

Definition at line 97 of file MyMultiplayerLobby.cs.

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

Definition at line 58 of file MyMultiplayerLobby.cs.

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

Definition at line 106 of file MyMultiplayerLobby.cs.

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

Definition at line 43 of file MyMultiplayerLobby.cs.

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

Definition at line 76 of file MyMultiplayerLobby.cs.

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

Definition at line 82 of file MyMultiplayerLobby.cs.

ulong Sandbox.Engine.Multiplayer.MyMultiplayerLobby.HostSteamId
getset

Definition at line 262 of file MyMultiplayerLobby.cs.

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

Definition at line 52 of file MyMultiplayerLobby.cs.

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

Definition at line 34 of file MyMultiplayerLobby.cs.

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

Definition at line 513 of file MyMultiplayerLobby.cs.

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

Definition at line 112 of file MyMultiplayerLobby.cs.

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

Definition at line 503 of file MyMultiplayerLobby.cs.

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

Definition at line 518 of file MyMultiplayerLobby.cs.

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

Definition at line 498 of file MyMultiplayerLobby.cs.

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

Definition at line 117 of file MyMultiplayerLobby.cs.

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

Definition at line 123 of file MyMultiplayerLobby.cs.

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

Definition at line 64 of file MyMultiplayerLobby.cs.

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

Definition at line 148 of file MyMultiplayerLobby.cs.

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

Definition at line 154 of file MyMultiplayerLobby.cs.

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

Definition at line 160 of file MyMultiplayerLobby.cs.

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

Definition at line 141 of file MyMultiplayerLobby.cs.

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

Definition at line 70 of file MyMultiplayerLobby.cs.

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

Definition at line 37 of file MyMultiplayerLobby.cs.

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

Definition at line 88 of file MyMultiplayerLobby.cs.


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