Barotrauma Client Doc
Barotrauma.DurationListElement Class Reference

Public Member Functions

 DurationListElement (StatusEffect parentEffect, Entity parentEntity, IEnumerable< ISerializableEntity > targets, float duration, Character user)
 
void Reset (float duration, Character newUser)
 

Public Attributes

readonly StatusEffect Parent
 
readonly Entity Entity
 
readonly List< ISerializableEntityTargets
 
float Timer
 

Properties

float Duration [get]
 
Character User [get]
 

Detailed Description

Constructor & Destructor Documentation

◆ DurationListElement()

Barotrauma.DurationListElement.DurationListElement ( StatusEffect  parentEffect,
Entity  parentEntity,
IEnumerable< ISerializableEntity targets,
float  duration,
Character  user 
)

Member Function Documentation

◆ Reset()

void Barotrauma.DurationListElement.Reset ( float  duration,
Character  newUser 
)

Member Data Documentation

◆ Entity

readonly Entity Barotrauma.DurationListElement.Entity

◆ Parent

readonly StatusEffect Barotrauma.DurationListElement.Parent

◆ Targets

readonly List<ISerializableEntity> Barotrauma.DurationListElement.Targets

◆ Timer

float Barotrauma.DurationListElement.Timer

Property Documentation

◆ Duration

float Barotrauma.DurationListElement.Duration
get

◆ User

Character Barotrauma.DurationListElement.User
get