Space Engineers
Static Public Member Functions | Properties | List of all members
Sandbox.Engine.Networking.MyLocalCache Class Reference

Static Public Member Functions

static string GetSessionSavesPath (string sessionUniqueName, bool contentFolder, bool createIfNotExists=true)
 
static MyObjectBuilder_Checkpoint LoadCheckpoint (string sessionPath, out ulong sizeInBytes)
 
static MyObjectBuilder_Sector LoadSector (string sessionPath, Vector3I sectorPosition, out ulong sizeInBytes)
 
static MyObjectBuilder_CubeGrid LoadCubeGrid (string sessionPath, string fileName, out ulong sizeInBytes)
 
static bool SaveSector (MyObjectBuilder_Sector sector, string sessionPath, Vector3I sectorPosition, out ulong sizeInBytes)
 
static bool SaveCheckpoint (MyObjectBuilder_Checkpoint checkpoint, string sessionPath)
 
static bool SaveCheckpoint (MyObjectBuilder_Checkpoint checkpoint, string sessionPath, out ulong sizeInBytes)
 
static bool SaveRespawnShip (MyObjectBuilder_CubeGrid cubegrid, string sessionPath, string fileName, out ulong sizeInBytes)
 
static List< Tuple< string, MyWorldInfo > > GetAvailableWorldInfos (string customPath=null)
 
static List< Tuple< string, MyWorldInfo > > GetAvailableMissionInfos ()
 
static List< Tuple< string, MyWorldInfo > > GetAvailableAISchoolInfos ()
 
static List< Tuple< string, MyWorldInfo > > GetAvailableTutorialInfos ()
 
static void GetWorldInfoFromDirectory (string path, List< Tuple< string, MyWorldInfo >> result)
 
static string GetLastSessionPath ()
 
static bool SaveLastSessionInfo (string sessionPath)
 
static void ClearLastSessionInfo ()
 
static bool SaveLastLoadedTime (string sessionPath, DateTime lastLoadedTime)
 

Properties

static string LastLoadedTimesPath [get]
 
static string LastSessionPath [get]
 
static string ContentSessionsPath [get]
 
static string MissionSessionsPath [get]
 
static string AISchoolSessionsPath [get]
 

Detailed Description

Definition at line 26 of file MyLocalCache.cs.

Member Function Documentation

static void Sandbox.Engine.Networking.MyLocalCache.ClearLastSessionInfo ( )
inlinestatic

Definition at line 318 of file MyLocalCache.cs.

static List<Tuple<string, MyWorldInfo> > Sandbox.Engine.Networking.MyLocalCache.GetAvailableAISchoolInfos ( )
inlinestatic

Definition at line 220 of file MyLocalCache.cs.

static List<Tuple<string, MyWorldInfo> > Sandbox.Engine.Networking.MyLocalCache.GetAvailableMissionInfos ( )
inlinestatic

Definition at line 215 of file MyLocalCache.cs.

static List<Tuple<string, MyWorldInfo> > Sandbox.Engine.Networking.MyLocalCache.GetAvailableTutorialInfos ( )
inlinestatic

Definition at line 238 of file MyLocalCache.cs.

static List<Tuple<string, MyWorldInfo> > Sandbox.Engine.Networking.MyLocalCache.GetAvailableWorldInfos ( string  customPath = null)
inlinestatic

Definition at line 201 of file MyLocalCache.cs.

static string Sandbox.Engine.Networking.MyLocalCache.GetLastSessionPath ( )
inlinestatic

Definition at line 279 of file MyLocalCache.cs.

static string Sandbox.Engine.Networking.MyLocalCache.GetSessionSavesPath ( string  sessionUniqueName,
bool  contentFolder,
bool  createIfNotExists = true 
)
inlinestatic

Definition at line 48 of file MyLocalCache.cs.

static void Sandbox.Engine.Networking.MyLocalCache.GetWorldInfoFromDirectory ( string  path,
List< Tuple< string, MyWorldInfo >>  result 
)
inlinestatic

Definition at line 259 of file MyLocalCache.cs.

static MyObjectBuilder_Checkpoint Sandbox.Engine.Networking.MyLocalCache.LoadCheckpoint ( string  sessionPath,
out ulong  sizeInBytes 
)
inlinestatic

Definition at line 122 of file MyLocalCache.cs.

static MyObjectBuilder_CubeGrid Sandbox.Engine.Networking.MyLocalCache.LoadCubeGrid ( string  sessionPath,
string  fileName,
out ulong  sizeInBytes 
)
inlinestatic

Definition at line 161 of file MyLocalCache.cs.

static MyObjectBuilder_Sector Sandbox.Engine.Networking.MyLocalCache.LoadSector ( string  sessionPath,
Vector3I  sectorPosition,
out ulong  sizeInBytes 
)
inlinestatic

Definition at line 141 of file MyLocalCache.cs.

static bool Sandbox.Engine.Networking.MyLocalCache.SaveCheckpoint ( MyObjectBuilder_Checkpoint  checkpoint,
string  sessionPath 
)
inlinestatic

Definition at line 183 of file MyLocalCache.cs.

static bool Sandbox.Engine.Networking.MyLocalCache.SaveCheckpoint ( MyObjectBuilder_Checkpoint  checkpoint,
string  sessionPath,
out ulong  sizeInBytes 
)
inlinestatic

Definition at line 189 of file MyLocalCache.cs.

static bool Sandbox.Engine.Networking.MyLocalCache.SaveLastLoadedTime ( string  sessionPath,
DateTime  lastLoadedTime 
)
inlinestatic

Definition at line 328 of file MyLocalCache.cs.

static bool Sandbox.Engine.Networking.MyLocalCache.SaveLastSessionInfo ( string  sessionPath)
inlinestatic

Definition at line 302 of file MyLocalCache.cs.

static bool Sandbox.Engine.Networking.MyLocalCache.SaveRespawnShip ( MyObjectBuilder_CubeGrid  cubegrid,
string  sessionPath,
string  fileName,
out ulong  sizeInBytes 
)
inlinestatic

Definition at line 195 of file MyLocalCache.cs.

static bool Sandbox.Engine.Networking.MyLocalCache.SaveSector ( MyObjectBuilder_Sector  sector,
string  sessionPath,
Vector3I  sectorPosition,
out ulong  sizeInBytes 
)
inlinestatic

Definition at line 177 of file MyLocalCache.cs.

Property Documentation

string Sandbox.Engine.Networking.MyLocalCache.AISchoolSessionsPath
staticget

Definition at line 36 of file MyLocalCache.cs.

string Sandbox.Engine.Networking.MyLocalCache.ContentSessionsPath
staticget

Definition at line 34 of file MyLocalCache.cs.

string Sandbox.Engine.Networking.MyLocalCache.LastLoadedTimesPath
staticget

Definition at line 32 of file MyLocalCache.cs.

string Sandbox.Engine.Networking.MyLocalCache.LastSessionPath
staticget

Definition at line 33 of file MyLocalCache.cs.

string Sandbox.Engine.Networking.MyLocalCache.MissionSessionsPath
staticget

Definition at line 35 of file MyLocalCache.cs.


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