Barotrauma Client Doc
Barotrauma.CauseOfDeath Class Reference

Public Member Functions

 CauseOfDeath (CauseOfDeathType type, AfflictionPrefab affliction, Character killer, Entity damageSource)
 

Public Attributes

readonly CauseOfDeathType Type
 
readonly AfflictionPrefab Affliction
 
readonly Character Killer
 
readonly Entity DamageSource
 

Detailed Description

Definition at line 10 of file CauseOfDeath.cs.

Constructor & Destructor Documentation

◆ CauseOfDeath()

Barotrauma.CauseOfDeath.CauseOfDeath ( CauseOfDeathType  type,
AfflictionPrefab  affliction,
Character  killer,
Entity  damageSource 
)

Definition at line 17 of file CauseOfDeath.cs.

Member Data Documentation

◆ Affliction

readonly AfflictionPrefab Barotrauma.CauseOfDeath.Affliction

Definition at line 13 of file CauseOfDeath.cs.

◆ DamageSource

readonly Entity Barotrauma.CauseOfDeath.DamageSource

Definition at line 15 of file CauseOfDeath.cs.

◆ Killer

readonly Character Barotrauma.CauseOfDeath.Killer

Definition at line 14 of file CauseOfDeath.cs.

◆ Type

readonly CauseOfDeathType Barotrauma.CauseOfDeath.Type

Definition at line 12 of file CauseOfDeath.cs.