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

Public Member Functions

 PvPMode (GameModePreset preset, IEnumerable< MissionPrefab > missionPrefabs)
 
 PvPMode (GameModePreset preset, MissionType missionType, string seed)
 
void AssignTeamIDs (IEnumerable< Client > clients)
 
- Public Member Functions inherited from Barotrauma.MissionMode
 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)
 

Additional Inherited Members

- Static Public Attributes inherited from Barotrauma.GameMode
static List< GameModePresetPresetList = new List<GameModePreset>()
 
- Static Protected Member Functions inherited from Barotrauma.MissionMode
static IEnumerable< MissionPrefabValidateMissionPrefabs (IEnumerable< MissionPrefab > missionPrefabs, Dictionary< MissionType, Type > missionClasses)
 
static MissionType ValidateMissionType (MissionType missionType, Dictionary< MissionType, Type > missionClasses)
 
- Protected Attributes inherited from Barotrauma.GameMode
DateTime startTime
 
GameModePreset preset
 
- Properties inherited from Barotrauma.MissionMode
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]
 

Detailed Description

Definition at line 8 of file PvPMode.cs.

Constructor & Destructor Documentation

◆ PvPMode() [1/2]

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

Definition at line 10 of file PvPMode.cs.

◆ PvPMode() [2/2]

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

Definition at line 12 of file PvPMode.cs.

Member Function Documentation

◆ AssignTeamIDs()

void Barotrauma.PvPMode.AssignTeamIDs ( IEnumerable< Client clients)

Definition at line 14 of file PvPMode.cs.