Space Engineers
Classes | Public Member Functions | Static Public Member Functions | Properties | Events | List of all members
Sandbox.Game.Multiplayer.MyGpsCollection Class Reference
Inheritance diagram for Sandbox.Game.Multiplayer.MyGpsCollection:
VRage.Game.ModAPI.IMyGpsCollection

Public Member Functions

bool ExistsForPlayer (long id)
 
void SendAddGps (long identityId, ref MyGps gps, long entityId=-1)
 
void SendDelete (long identityId, int gpsHash)
 
void SendModifyGps (long identityId, MyGps gps)
 
void ChangeShowOnHud (long identityId, int gpsHash, bool show)
 
void ChangeAlwaysVisible (long identityId, int gpsHash, bool alwaysVisible)
 
void ChangeColor (long identityId, int gpsHash, Color color)
 
bool AddPlayerGps (long identityId, ref MyGps gps)
 
MyGps GetGps (int hash)
 
void GetNameForNewCurrent (StringBuilder name)
 
void LoadGpss (MyObjectBuilder_Checkpoint checkpoint)
 
void updateForHud ()
 
void SaveGpss (MyObjectBuilder_Checkpoint checkpoint)
 
MyObjectBuilder_Gps.Entry GetObjectBuilderEntry (MyGps gps)
 
void DiscardOld ()
 
int ScanText (string input, StringBuilder desc)
 
int ScanText (string input, string desc=null)
 
void GetGpsList (long identityId, List< IMyGps > list)
 Gets the GPS entries from the specified identity (does not use network traffic). More...
 
IMyGps GetGpsByName (long identityId, string gpsName)
 

Static Public Member Functions

static bool ParseOneGPS (string input, StringBuilder name, ref Vector3D coords)
 
static bool ParseOneGPSExtended (string input, StringBuilder name, ref Vector3D coords, StringBuilder additionalData)
 

Properties

Dictionary< int, MyGpsthis[long id] [get]
 

Events

Action< long > ListChanged
 
Action< long, int > GpsChanged
 

Detailed Description

Definition at line 38 of file MyGpsCollection.cs.

Member Function Documentation

bool Sandbox.Game.Multiplayer.MyGpsCollection.AddPlayerGps ( long  identityId,
ref MyGps  gps 
)
inline

Definition at line 401 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.ChangeAlwaysVisible ( long  identityId,
int  gpsHash,
bool  alwaysVisible 
)
inline

Definition at line 301 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.ChangeColor ( long  identityId,
int  gpsHash,
Color  color 
)
inline

Definition at line 354 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.ChangeShowOnHud ( long  identityId,
int  gpsHash,
bool  show 
)
inline

Definition at line 248 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.DiscardOld ( )
inline

Definition at line 555 of file MyGpsCollection.cs.

bool Sandbox.Game.Multiplayer.MyGpsCollection.ExistsForPlayer ( long  id)
inline

Definition at line 44 of file MyGpsCollection.cs.

MyGps Sandbox.Game.Multiplayer.MyGpsCollection.GetGps ( int  hash)
inline

Definition at line 427 of file MyGpsCollection.cs.

IMyGps Sandbox.Game.Multiplayer.MyGpsCollection.GetGpsByName ( long  identityId,
string  gpsName 
)
inline

Definition at line 74 of file MyGpsCollection_ModAPI.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.GetGpsList ( long  identityId,
List< IMyGps list 
)
inline

Gets the GPS entries from the specified identity (does not use network traffic).

Parameters
identityId
listGPS entries will be added to this list. The list is not cleared internally.

Implements VRage.Game.ModAPI.IMyGpsCollection.

Definition at line 63 of file MyGpsCollection_ModAPI.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.GetNameForNewCurrent ( StringBuilder  name)
inline

Definition at line 442 of file MyGpsCollection.cs.

MyObjectBuilder_Gps.Entry Sandbox.Game.Multiplayer.MyGpsCollection.GetObjectBuilderEntry ( MyGps  gps)
inline

Definition at line 540 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.LoadGpss ( MyObjectBuilder_Checkpoint  checkpoint)
inline

Definition at line 476 of file MyGpsCollection.cs.

static bool Sandbox.Game.Multiplayer.MyGpsCollection.ParseOneGPS ( string  input,
StringBuilder  name,
ref Vector3D  coords 
)
inlinestatic

Definition at line 598 of file MyGpsCollection.cs.

static bool Sandbox.Game.Multiplayer.MyGpsCollection.ParseOneGPSExtended ( string  input,
StringBuilder  name,
ref Vector3D  coords,
StringBuilder  additionalData 
)
inlinestatic

Definition at line 629 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.SaveGpss ( MyObjectBuilder_Checkpoint  checkpoint)
inline

Definition at line 517 of file MyGpsCollection.cs.

int Sandbox.Game.Multiplayer.MyGpsCollection.ScanText ( string  input,
StringBuilder  desc 
)
inline

Definition at line 669 of file MyGpsCollection.cs.

int Sandbox.Game.Multiplayer.MyGpsCollection.ScanText ( string  input,
string  desc = null 
)
inline

Definition at line 676 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.SendAddGps ( long  identityId,
ref MyGps  gps,
long  entityId = -1 
)
inline

Definition at line 80 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.SendDelete ( long  identityId,
int  gpsHash 
)
inline

Definition at line 129 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.SendModifyGps ( long  identityId,
MyGps  gps 
)
inline

Definition at line 171 of file MyGpsCollection.cs.

void Sandbox.Game.Multiplayer.MyGpsCollection.updateForHud ( )
inline

Definition at line 500 of file MyGpsCollection.cs.

Property Documentation

Dictionary<int, MyGps> Sandbox.Game.Multiplayer.MyGpsCollection.this[long id]
get

Definition at line 41 of file MyGpsCollection.cs.

Event Documentation

Action<long, int> Sandbox.Game.Multiplayer.MyGpsCollection.GpsChanged

Definition at line 245 of file MyGpsCollection.cs.

Action<long> Sandbox.Game.Multiplayer.MyGpsCollection.ListChanged

Definition at line 244 of file MyGpsCollection.cs.


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