Barotrauma Client Doc
Barotrauma.HireManager Class Reference

Public Member Functions

 HireManager ()
 
void RemoveCharacter (CharacterInfo character)
 
void GenerateCharacters (Location location, int amount)
 
void Remove ()
 
void RenameCharacter (CharacterInfo characterInfo, string newName)
 

Static Public Member Functions

static int GetSalaryFor (IReadOnlyCollection< CharacterInfo > hires)
 
static int GetSalaryFor (CharacterInfo hire)
 

Public Attributes

List< CharacterInfoPendingHires = new List<CharacterInfo>()
 

Static Public Attributes

const int MaxAvailableCharacters = 6
 

Properties

List< CharacterInfoAvailableCharacters [get, set]
 

Detailed Description

Definition at line 7 of file HireManager.cs.

Constructor & Destructor Documentation

◆ HireManager()

Barotrauma.HireManager.HireManager ( )

Definition at line 14 of file HireManager.cs.

Member Function Documentation

◆ GenerateCharacters()

void Barotrauma.HireManager.GenerateCharacters ( Location  location,
int  amount 
)

Definition at line 41 of file HireManager.cs.

◆ GetSalaryFor() [1/2]

static int Barotrauma.HireManager.GetSalaryFor ( CharacterInfo  hire)
static

Definition at line 29 of file HireManager.cs.

◆ GetSalaryFor() [2/2]

static int Barotrauma.HireManager.GetSalaryFor ( IReadOnlyCollection< CharacterInfo hires)
static

Definition at line 24 of file HireManager.cs.

◆ Remove()

void Barotrauma.HireManager.Remove ( )

Definition at line 73 of file HireManager.cs.

◆ RemoveCharacter()

void Barotrauma.HireManager.RemoveCharacter ( CharacterInfo  character)

Definition at line 19 of file HireManager.cs.

◆ RenameCharacter()

void Barotrauma.HireManager.RenameCharacter ( CharacterInfo  characterInfo,
string  newName 
)

Definition at line 79 of file HireManager.cs.

Member Data Documentation

◆ MaxAvailableCharacters

const int Barotrauma.HireManager.MaxAvailableCharacters = 6
static

Definition at line 12 of file HireManager.cs.

◆ PendingHires

List<CharacterInfo> Barotrauma.HireManager.PendingHires = new List<CharacterInfo>()

Definition at line 10 of file HireManager.cs.

Property Documentation

◆ AvailableCharacters

List<CharacterInfo> Barotrauma.HireManager.AvailableCharacters
getset

Definition at line 9 of file HireManager.cs.