Barotrauma Client Doc
Barotrauma.CPRSettings Class Reference
Inheritance diagram for Barotrauma.CPRSettings:
Barotrauma.Prefab

Public Member Functions

 CPRSettings (XElement element, AfflictionsFile file)
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 

Public Attributes

readonly float ReviveChancePerSkill
 
readonly float ReviveChanceExponent
 
readonly float ReviveChanceMin
 
readonly float ReviveChanceMax
 
readonly float StabilizationPerSkill
 
readonly float StabilizationMin
 
readonly float StabilizationMax
 
readonly float DamageSkillThreshold
 
readonly float DamageSkillMultiplier
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabSelector< CPRSettingsPrefabs = new PrefabSelector<CPRSettings>()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Properties

static CPRSettings Active [get]
 
AfflictionPrefabInsufficientSkillAffliction [get]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 

Detailed Description

Definition at line 14 of file AfflictionPrefab.cs.

Constructor & Destructor Documentation

◆ CPRSettings()

Barotrauma.CPRSettings.CPRSettings ( XElement  element,
AfflictionsFile  file 
)

Definition at line 41 of file AfflictionPrefab.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.CPRSettings.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 58 of file AfflictionPrefab.cs.

Member Data Documentation

◆ DamageSkillMultiplier

readonly float Barotrauma.CPRSettings.DamageSkillMultiplier

Definition at line 27 of file AfflictionPrefab.cs.

◆ DamageSkillThreshold

readonly float Barotrauma.CPRSettings.DamageSkillThreshold

Definition at line 26 of file AfflictionPrefab.cs.

◆ Prefabs

readonly PrefabSelector<CPRSettings> Barotrauma.CPRSettings.Prefabs = new PrefabSelector<CPRSettings>()
static

Definition at line 16 of file AfflictionPrefab.cs.

◆ ReviveChanceExponent

readonly float Barotrauma.CPRSettings.ReviveChanceExponent

Definition at line 20 of file AfflictionPrefab.cs.

◆ ReviveChanceMax

readonly float Barotrauma.CPRSettings.ReviveChanceMax

Definition at line 22 of file AfflictionPrefab.cs.

◆ ReviveChanceMin

readonly float Barotrauma.CPRSettings.ReviveChanceMin

Definition at line 21 of file AfflictionPrefab.cs.

◆ ReviveChancePerSkill

readonly float Barotrauma.CPRSettings.ReviveChancePerSkill

Definition at line 19 of file AfflictionPrefab.cs.

◆ StabilizationMax

readonly float Barotrauma.CPRSettings.StabilizationMax

Definition at line 25 of file AfflictionPrefab.cs.

◆ StabilizationMin

readonly float Barotrauma.CPRSettings.StabilizationMin

Definition at line 24 of file AfflictionPrefab.cs.

◆ StabilizationPerSkill

readonly float Barotrauma.CPRSettings.StabilizationPerSkill

Definition at line 23 of file AfflictionPrefab.cs.

Property Documentation

◆ Active

CPRSettings Barotrauma.CPRSettings.Active
staticget

Definition at line 17 of file AfflictionPrefab.cs.

◆ InsufficientSkillAffliction

AfflictionPrefab? Barotrauma.CPRSettings.InsufficientSkillAffliction
get

Definition at line 30 of file AfflictionPrefab.cs.