Space Engineers
Protected Member Functions | Properties | List of all members
Sandbox.Engine.Multiplayer.MyDedicatedServer Class Reference
Inheritance diagram for Sandbox.Engine.Multiplayer.MyDedicatedServer:
Sandbox.Engine.Multiplayer.MyDedicatedServerBase Sandbox.Engine.Multiplayer.MyMultiplayerServerBase Sandbox.Engine.Multiplayer.MyMultiplayerBase VRage.Replication.IReplicationServerCallback

Protected Member Functions

override void SendServerData ()
 
override void OnChatMessage (ref ChatMsg msg)
 
- Protected Member Functions inherited from Sandbox.Engine.Multiplayer.MyDedicatedServerBase
 MyDedicatedServerBase (MySyncLayer syncLayer)
 
void Initialize (IPEndPoint serverEndpoint)
 
virtual void UserAccepted (ulong steamID)
 
void OnConnectedClient (ref ConnectedClientDataMsg msg, ulong steamId)
 
override void OnClientKick (ref MyControlKickClientMsg data, ulong sender)
 
override void OnClientBan (ref MyControlBanClientMsg data, ulong sender)
 
- 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 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 bool Scenario [get, set]
 
override string ScenarioBriefing [get, set]
 
override DateTime ScenarioStartTime [get, set]
 
- Properties inherited from Sandbox.Engine.Multiplayer.MyDedicatedServerBase
override bool IsServer [get]
 
bool ServerStarted [get, set]
 
string ServerInitError [get, set]
 
bool IsService [get]
 
override string WorldName [get, set]
 
override MyGameModeEnum GameMode [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 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

- Public Member Functions inherited from Sandbox.Engine.Multiplayer.MyDedicatedServerBase
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)
 
void SendJoinResult (ulong sendTo, JoinResult joinResult, ulong adminID=0)
 
override void Dispose ()
 
override ulong GetMemberByIndex (int memberIndex)
 
override ulong GetOwner ()
 
override bool IsAdmin (ulong steamID)
 
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 inherited from Sandbox.Engine.Multiplayer.MyDedicatedServerBase
static string ConvertSteamIDFrom64 (ulong from)
 
static ulong ConvertSteamIDTo64 (string from)
 
- 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 inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
readonly MySyncLayer SyncLayer
 
- Static Public Attributes inherited from Sandbox.Engine.Multiplayer.MyDedicatedServerBase
static readonly string SteamIDPrefix = "STEAM_"
 
static readonly ulong SteamIDMagicConstant = 76561197960265728ul
 
- Static Protected Member Functions inherited from Sandbox.Engine.Multiplayer.MyMultiplayerBase
static void SendChatMessage (ref ChatMsg msg)
 
- Protected Attributes inherited from Sandbox.Engine.Multiplayer.MyDedicatedServerBase
string m_worldName
 
MyGameModeEnum m_gameMode
 
string m_hostName
 
ulong m_worldSize
 
int m_appVersion = MyFinalBuildConstants.APP_VERSION
 
int m_membersLimit
 
string m_dataHash
 
ulong m_groupId
 
List< ulong > m_members = new List<ulong>()
 
Dictionary< ulong, MyConnectedClientDatam_memberData = new Dictionary<ulong, MyConnectedClientData>()
 
- 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 20 of file MyDedicatedServer.cs.

Member Function Documentation

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

Reimplemented from Sandbox.Engine.Multiplayer.MyMultiplayerBase.

Definition at line 145 of file MyDedicatedServer.cs.

override void Sandbox.Engine.Multiplayer.MyDedicatedServer.SendServerData ( )
inlineprotectedvirtual

Property Documentation

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

Definition at line 41 of file MyDedicatedServer.cs.

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

Definition at line 59 of file MyDedicatedServer.cs.

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

Definition at line 35 of file MyDedicatedServer.cs.

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

Definition at line 47 of file MyDedicatedServer.cs.

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

Definition at line 65 of file MyDedicatedServer.cs.

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

Definition at line 71 of file MyDedicatedServer.cs.

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

Definition at line 77 of file MyDedicatedServer.cs.

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

Definition at line 53 of file MyDedicatedServer.cs.


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