Barotrauma Client Doc
Barotrauma.RoundSummary Class Reference

Public Member Functions

 RoundSummary (GameMode gameMode, IEnumerable< Mission > selectedMissions, Location startLocation, Location endLocation)
 
GUIFrame CreateSummaryFrame (GameSession gameSession, string endMessage, CampaignMode.TransitionType transitionType=CampaignMode.TransitionType.None, TraitorManager.TraitorResults? traitorResults=null)
 
void CreateReputationInfoPanel (GUIComponent parent, CampaignMode campaignMode)
 

Static Public Member Functions

static GUIComponent CreateMissionEntry (GUIComponent parent, LocalizedString header, List< LocalizedString > textContent, int difficultyIconCount, Sprite icon, Color iconColor, out GUIImage missionIcon)
 
static void AddSeparators (GUIComponent container)
 
static void UpdateMissionStateIcon (bool success, GUIImage missionIcon, float delay=0.5f)
 
static void DrawReputationBar (SpriteBatch sb, Rectangle rect, float normalizedReputation)
 

Properties

GUILayoutGroup ButtonArea [get]
 
GUIButton ContinueButton [get]
 
GUIComponent Frame [get]
 

Detailed Description

Definition at line 11 of file RoundSummary.cs.

Constructor & Destructor Documentation

◆ RoundSummary()

Barotrauma.RoundSummary.RoundSummary ( GameMode  gameMode,
IEnumerable< Mission selectedMissions,
Location  startLocation,
Location  endLocation 
)

Definition at line 35 of file RoundSummary.cs.

Member Function Documentation

◆ AddSeparators()

static void Barotrauma.RoundSummary.AddSeparators ( GUIComponent  container)
static

Definition at line 523 of file RoundSummary.cs.

◆ CreateMissionEntry()

static GUIComponent Barotrauma.RoundSummary.CreateMissionEntry ( GUIComponent  parent,
LocalizedString  header,
List< LocalizedString textContent,
int  difficultyIconCount,
Sprite  icon,
Color  iconColor,
out GUIImage  missionIcon 
)
static

Definition at line 437 of file RoundSummary.cs.

◆ CreateReputationInfoPanel()

void Barotrauma.RoundSummary.CreateReputationInfoPanel ( GUIComponent  parent,
CampaignMode  campaignMode 
)

Definition at line 300 of file RoundSummary.cs.

◆ CreateSummaryFrame()

GUIFrame Barotrauma.RoundSummary.CreateSummaryFrame ( GameSession  gameSession,
string  endMessage,
CampaignMode.TransitionType  transitionType = CampaignMode.TransitionType.None,
TraitorManager.TraitorResults traitorResults = null 
)

Definition at line 50 of file RoundSummary.cs.

◆ DrawReputationBar()

static void Barotrauma.RoundSummary.DrawReputationBar ( SpriteBatch  sb,
Rectangle  rect,
float  normalizedReputation 
)
static

Definition at line 874 of file RoundSummary.cs.

◆ UpdateMissionStateIcon()

static void Barotrauma.RoundSummary.UpdateMissionStateIcon ( bool  success,
GUIImage  missionIcon,
float  delay = 0.5f 
)
static

Definition at line 539 of file RoundSummary.cs.

Property Documentation

◆ ButtonArea

GUILayoutGroup Barotrauma.RoundSummary.ButtonArea
get

Definition at line 29 of file RoundSummary.cs.

◆ ContinueButton

GUIButton Barotrauma.RoundSummary.ContinueButton
get

Definition at line 31 of file RoundSummary.cs.

◆ Frame

GUIComponent Barotrauma.RoundSummary.Frame
get

Definition at line 33 of file RoundSummary.cs.