Space Engineers
Public Member Functions | Static Public Attributes | Properties | List of all members
Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer Class Reference
Inheritance diagram for Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer:
VRage.Game.ModAPI.IMyMultiplayer

Public Member Functions

bool IsServerPlayer (IMyNetworkClient player)
 
void SendEntitiesCreated (List< MyObjectBuilder_EntityBase > objectBuilders)
 
bool SendMessageToServer (ushort id, byte[] message, bool reliable)
 
bool SendMessageToOthers (ushort id, byte[] message, bool reliable)
 
bool SendMessageTo (ushort id, byte[] message, ulong recipient, bool reliable)
 
void JoinServer (string address)
 
void RegisterMessageHandler (ushort id, Action< byte[]> messageHandler)
 
void UnregisterMessageHandler (ushort id, Action< byte[]> messageHandler)
 

Static Public Attributes

static MyMultiplayer Static
 

Properties

bool MultiplayerActive [get]
 
bool IsServer [get]
 
ulong ServerId [get]
 
ulong MyId [get]
 
string MyName [get]
 
IMyPlayerCollection Players [get]
 
- Properties inherited from VRage.Game.ModAPI.IMyMultiplayer
bool MultiplayerActive [get]
 
bool IsServer [get]
 
ulong ServerId [get]
 
ulong MyId [get]
 
string MyName [get]
 
IMyPlayerCollection Players [get]
 

Detailed Description

Definition at line 43 of file MyModAPIHelper_ModAPI.cs.

Member Function Documentation

bool Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.IsServerPlayer ( IMyNetworkClient  player)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 86 of file MyModAPIHelper_ModAPI.cs.

void Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.JoinServer ( string  address)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 137 of file MyModAPIHelper_ModAPI.cs.

void Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.RegisterMessageHandler ( ushort  id,
Action< byte[]>  messageHandler 
)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 150 of file MyModAPIHelper_ModAPI.cs.

void Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.SendEntitiesCreated ( List< MyObjectBuilder_EntityBase objectBuilders)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 93 of file MyModAPIHelper_ModAPI.cs.

bool Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.SendMessageTo ( ushort  id,
byte[]  message,
ulong  recipient,
bool  reliable 
)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 124 of file MyModAPIHelper_ModAPI.cs.

bool Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.SendMessageToOthers ( ushort  id,
byte[]  message,
bool  reliable 
)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 111 of file MyModAPIHelper_ModAPI.cs.

bool Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.SendMessageToServer ( ushort  id,
byte[]  message,
bool  reliable 
)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 98 of file MyModAPIHelper_ModAPI.cs.

void Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.UnregisterMessageHandler ( ushort  id,
Action< byte[]>  messageHandler 
)
inline

Implements VRage.Game.ModAPI.IMyMultiplayer.

Definition at line 164 of file MyModAPIHelper_ModAPI.cs.

Member Data Documentation

MyMultiplayer Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.Static
static

Definition at line 46 of file MyModAPIHelper_ModAPI.cs.

Property Documentation

bool Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.IsServer
get

Definition at line 62 of file MyModAPIHelper_ModAPI.cs.

bool Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.MultiplayerActive
get

Definition at line 57 of file MyModAPIHelper_ModAPI.cs.

ulong Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.MyId
get

Definition at line 72 of file MyModAPIHelper_ModAPI.cs.

string Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.MyName
get

Definition at line 77 of file MyModAPIHelper_ModAPI.cs.

IMyPlayerCollection Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.Players
get

Definition at line 82 of file MyModAPIHelper_ModAPI.cs.

ulong Sandbox.ModAPI.MyModAPIHelper.MyMultiplayer.ServerId
get

Definition at line 67 of file MyModAPIHelper_ModAPI.cs.


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