Space Engineers
Public Member Functions | Properties | Events | List of all members
Sandbox.Game.MyCampaignManager Class Reference

Public Member Functions

void Init ()
 
void RefreshModData ()
 DO NOT RUN FROM MAIN THREAD! More...
 
void PublishActive ()
 Runs publish process for active campaign. More...
 
void LoadSessionFromActiveCampaign (string relativePath, Action afterLoad=null, string campaignDirectoryName=null)
 
void SwitchCampaign (string name, bool isVanilla=true, bool isLocalMod=false)
 
void RunNewCampaign ()
 
void NotifyCampaignFinished ()
 

Properties

static MyCampaignManager Static [get]
 
IEnumerable< MyObjectBuilder_CampaignCampaigns [get]
 
IEnumerable< string > CampaignNames [get]
 
IEnumerable< string > ActiveCampaignLevels [get]
 
string ActiveCampaignName [get]
 
MyObjectBuilder_Campaign ActiveCampaign [get]
 
bool IsCampaignRunning [get]
 
IEnumerable< string > LocalizationLanguages [get]
 
string SelectedLanguage [get, set]
 

Events

Action OnCampaignFinished
 

Detailed Description

Definition at line 23 of file MyCampaignManager.cs.

Member Function Documentation

void Sandbox.Game.MyCampaignManager.Init ( )
inline

Definition at line 145 of file MyCampaignManager.cs.

void Sandbox.Game.MyCampaignManager.LoadSessionFromActiveCampaign ( string  relativePath,
Action  afterLoad = null,
string  campaignDirectoryName = null 
)
inline

Definition at line 398 of file MyCampaignManager.cs.

void Sandbox.Game.MyCampaignManager.NotifyCampaignFinished ( )
inline

Definition at line 563 of file MyCampaignManager.cs.

void Sandbox.Game.MyCampaignManager.PublishActive ( )
inline

Runs publish process for active campaign.

Definition at line 312 of file MyCampaignManager.cs.

void Sandbox.Game.MyCampaignManager.RefreshModData ( )
inline

DO NOT RUN FROM MAIN THREAD!

Definition at line 202 of file MyCampaignManager.cs.

void Sandbox.Game.MyCampaignManager.RunNewCampaign ( )
inline

Definition at line 522 of file MyCampaignManager.cs.

void Sandbox.Game.MyCampaignManager.SwitchCampaign ( string  name,
bool  isVanilla = true,
bool  isLocalMod = false 
)
inline

Definition at line 496 of file MyCampaignManager.cs.

Property Documentation

MyObjectBuilder_Campaign Sandbox.Game.MyCampaignManager.ActiveCampaign
get

Definition at line 96 of file MyCampaignManager.cs.

IEnumerable<string> Sandbox.Game.MyCampaignManager.ActiveCampaignLevels
get

Definition at line 86 of file MyCampaignManager.cs.

string Sandbox.Game.MyCampaignManager.ActiveCampaignName
get

Definition at line 91 of file MyCampaignManager.cs.

IEnumerable<string> Sandbox.Game.MyCampaignManager.CampaignNames
get

Definition at line 81 of file MyCampaignManager.cs.

IEnumerable<MyObjectBuilder_Campaign> Sandbox.Game.MyCampaignManager.Campaigns
get

Definition at line 66 of file MyCampaignManager.cs.

bool Sandbox.Game.MyCampaignManager.IsCampaignRunning
get

Definition at line 101 of file MyCampaignManager.cs.

IEnumerable<string> Sandbox.Game.MyCampaignManager.LocalizationLanguages
get

Definition at line 113 of file MyCampaignManager.cs.

string Sandbox.Game.MyCampaignManager.SelectedLanguage
getset

Definition at line 124 of file MyCampaignManager.cs.

MyCampaignManager Sandbox.Game.MyCampaignManager.Static
staticget

Definition at line 53 of file MyCampaignManager.cs.

Event Documentation

Action Sandbox.Game.MyCampaignManager.OnCampaignFinished

Definition at line 139 of file MyCampaignManager.cs.


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