Barotrauma Client Doc
Barotrauma.LoadingScreen Class Reference

Classes

struct  PendingSplashScreen
 

Public Member Functions

 LoadingScreen (GraphicsDevice graphics)
 
void Draw (SpriteBatch spriteBatch, GraphicsDevice graphics, float deltaTime)
 
IEnumerable< CoroutineStatusDoLoading (IEnumerable< CoroutineStatus > loader)
 

Public Attributes

readonly ConcurrentQueue< PendingSplashScreenPendingSplashScreens = new ConcurrentQueue<PendingSplashScreen>()
 Triplet.first = filepath, Triplet.second = resolution, Triplet.third = audio gain More...
 
float LoadState
 
LanguageIdentifier[] AvailableLanguages = null
 

Properties

bool PlayingSplashScreen [get]
 
bool WaitForLanguageSelection [get, set]
 

Detailed Description

Definition at line 13 of file LoadingScreen.cs.

Constructor & Destructor Documentation

◆ LoadingScreen()

Barotrauma.LoadingScreen.LoadingScreen ( GraphicsDevice  graphics)

Definition at line 70 of file LoadingScreen.cs.

Member Function Documentation

◆ DoLoading()

IEnumerable<CoroutineStatus> Barotrauma.LoadingScreen.DoLoading ( IEnumerable< CoroutineStatus loader)

Definition at line 379 of file LoadingScreen.cs.

◆ Draw()

void Barotrauma.LoadingScreen.Draw ( SpriteBatch  spriteBatch,
GraphicsDevice  graphics,
float  deltaTime 
)

Definition at line 83 of file LoadingScreen.cs.

Member Data Documentation

◆ AvailableLanguages

LanguageIdentifier [] Barotrauma.LoadingScreen.AvailableLanguages = null

Definition at line 68 of file LoadingScreen.cs.

◆ LoadState

float Barotrauma.LoadingScreen.LoadState

Definition at line 60 of file LoadingScreen.cs.

◆ PendingSplashScreens

readonly ConcurrentQueue<PendingSplashScreen> Barotrauma.LoadingScreen.PendingSplashScreens = new ConcurrentQueue<PendingSplashScreen>()

Triplet.first = filepath, Triplet.second = resolution, Triplet.third = audio gain

Definition at line 44 of file LoadingScreen.cs.

Property Documentation

◆ PlayingSplashScreen

bool Barotrauma.LoadingScreen.PlayingSplashScreen
get

Definition at line 46 of file LoadingScreen.cs.

◆ WaitForLanguageSelection

bool Barotrauma.LoadingScreen.WaitForLanguageSelection
getset

Definition at line 62 of file LoadingScreen.cs.