Barotrauma Client Doc
Barotrauma.MissionMode Class Reference
Inheritance diagram for Barotrauma.MissionMode:
Barotrauma.GameMode Barotrauma.GameMode Barotrauma.CoOpMode Barotrauma.PvPMode

Public Member Functions

 MissionMode (GameModePreset preset, IEnumerable< MissionPrefab > missionPrefabs)
 
 MissionMode (GameModePreset preset, MissionType missionType, string seed)
 
override void ShowStartMessage ()
 
- Public Member Functions inherited from Barotrauma.GameMode
virtual void UpdateWhilePaused (float deltaTime)
 
 GameMode (GameModePreset preset)
 
virtual void Start ()
 
virtual void AddExtraMissions (LevelData levelData)
 
virtual void AddToGUIUpdateList ()
 
virtual void Update (float deltaTime)
 
virtual void End (CampaignMode.TransitionType transitionType=CampaignMode.TransitionType.None)
 
virtual void Remove ()
 
virtual void HUDScaleChanged ()
 
virtual void Draw (SpriteBatch spriteBatch)
 

Static Protected Member Functions

static IEnumerable< MissionPrefabValidateMissionPrefabs (IEnumerable< MissionPrefab > missionPrefabs, Dictionary< MissionType, Type > missionClasses)
 
static MissionType ValidateMissionType (MissionType missionType, Dictionary< MissionType, Type > missionClasses)
 

Properties

override IEnumerable< MissionMissions [get]
 
- Properties inherited from Barotrauma.GameMode
CrewManagerCrewManager [get]
 
virtual IEnumerable< MissionMissions [get]
 
bool IsSinglePlayer [get]
 
LocalizedString Name [get]
 
virtual bool Paused [get]
 
GameModePreset Preset [get]
 

Additional Inherited Members

- Static Public Attributes inherited from Barotrauma.GameMode
static List< GameModePresetPresetList = new List<GameModePreset>()
 
- Protected Attributes inherited from Barotrauma.GameMode
DateTime startTime
 
GameModePreset preset
 

Detailed Description

Constructor & Destructor Documentation

◆ MissionMode() [1/2]

Barotrauma.MissionMode.MissionMode ( GameModePreset  preset,
IEnumerable< MissionPrefab missionPrefabs 
)

◆ MissionMode() [2/2]

Barotrauma.MissionMode.MissionMode ( GameModePreset  preset,
MissionType  missionType,
string  seed 
)

Member Function Documentation

◆ ShowStartMessage()

override void Barotrauma.MissionMode.ShowStartMessage ( )
virtual

◆ ValidateMissionPrefabs()

static IEnumerable<MissionPrefab> Barotrauma.MissionMode.ValidateMissionPrefabs ( IEnumerable< MissionPrefab missionPrefabs,
Dictionary< MissionType, Type >  missionClasses 
)
staticprotected

◆ ValidateMissionType()

static MissionType Barotrauma.MissionMode.ValidateMissionType ( MissionType  missionType,
Dictionary< MissionType, Type >  missionClasses 
)
staticprotected

Property Documentation

◆ Missions

override IEnumerable<Mission> Barotrauma.MissionMode.Missions
get