Barotrauma Client Doc
Barotrauma.AttackResult Struct Reference

Public Member Functions

 AttackResult (List< Affliction > afflictions, Limb hitLimb, List< DamageModifier > appliedDamageModifiers=null)
 
 AttackResult (float damage, List< DamageModifier > appliedDamageModifiers=null)
 

Public Attributes

readonly List< AfflictionAfflictions
 
readonly Limb HitLimb
 
readonly List< DamageModifierAppliedDamageModifiers
 

Properties

float Damage [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ AttackResult() [1/2]

Barotrauma.AttackResult.AttackResult ( List< Affliction afflictions,
Limb  hitLimb,
List< DamageModifier appliedDamageModifiers = null 
)

◆ AttackResult() [2/2]

Barotrauma.AttackResult.AttackResult ( float  damage,
List< DamageModifier appliedDamageModifiers = null 
)

Member Data Documentation

◆ Afflictions

readonly List<Affliction> Barotrauma.AttackResult.Afflictions

◆ AppliedDamageModifiers

readonly List<DamageModifier> Barotrauma.AttackResult.AppliedDamageModifiers

◆ HitLimb

readonly Limb Barotrauma.AttackResult.HitLimb

Property Documentation

◆ Damage

float Barotrauma.AttackResult.Damage
get