Barotrauma Client Doc
Barotrauma.Skill Class Reference

Public Member Functions

void IncreaseSkill (float value, bool increasePastMax)
 
 Skill (SkillPrefab prefab, Rand.RandSync randSync)
 
 Skill (Identifier identifier, float level)
 

Public Attributes

readonly Identifier Identifier
 
readonly float PriceMultiplier = 1.0f
 

Static Public Attributes

const float MaximumSkill = 100.0f
 

Properties

float Level [get, set]
 
Sprite Icon [get]
 

Detailed Description

Definition at line 5 of file Skill.cs.

Constructor & Destructor Documentation

◆ Skill() [1/2]

Barotrauma.Skill.Skill ( SkillPrefab  prefab,
Rand.RandSync  randSync 
)

Definition at line 32 of file Skill.cs.

◆ Skill() [2/2]

Barotrauma.Skill.Skill ( Identifier  identifier,
float  level 
)

Definition at line 40 of file Skill.cs.

Member Function Documentation

◆ IncreaseSkill()

void Barotrauma.Skill.IncreaseSkill ( float  value,
bool  increasePastMax 
)

Definition at line 19 of file Skill.cs.

Member Data Documentation

◆ Identifier

readonly Identifier Barotrauma.Skill.Identifier

Definition at line 7 of file Skill.cs.

◆ MaximumSkill

const float Barotrauma.Skill.MaximumSkill = 100.0f
static

Definition at line 9 of file Skill.cs.

◆ PriceMultiplier

readonly float Barotrauma.Skill.PriceMultiplier = 1.0f

Definition at line 30 of file Skill.cs.

Property Documentation

◆ Icon

Sprite Barotrauma.Skill.Icon
get

Definition at line 26 of file Skill.cs.

◆ Level

float Barotrauma.Skill.Level
getset

Definition at line 13 of file Skill.cs.