Barotrauma Client Doc
Barotrauma.StatusEffect.CharacterSpawnInfo Class Reference

Defines characters spawned by the effect, and where and how they're spawned. More...

Inheritance diagram for Barotrauma.StatusEffect.CharacterSpawnInfo:
Barotrauma.ISerializableEntity

Public Member Functions

 CharacterSpawnInfo (ContentXElement element, string parentDebugName)
 

Properties

string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get, set]
 
Identifier SpeciesName [get]
 
int Count [get]
 
bool TransferBuffs [get]
 
bool TransferAfflictions [get]
 
bool TransferInventory [get]
 
int TotalMaxCount [get]
 
int Stun [get]
 
Identifier AfflictionOnSpawn [get]
 
int AfflictionStrength [get]
 
bool TransferControl [get]
 
bool RemovePreviousCharacter [get]
 
float Spread [get]
 
Vector2 Offset [get]
 
bool InheritEventTags [get]
 
- Properties inherited from Barotrauma.ISerializableEntity
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Detailed Description

Defines characters spawned by the effect, and where and how they're spawned.

Definition at line 351 of file BarotraumaShared/SharedSource/StatusEffects/StatusEffect.cs.

Constructor & Destructor Documentation

◆ CharacterSpawnInfo()

Barotrauma.StatusEffect.CharacterSpawnInfo.CharacterSpawnInfo ( ContentXElement  element,
string  parentDebugName 
)

Property Documentation

◆ AfflictionOnSpawn

Identifier Barotrauma.StatusEffect.CharacterSpawnInfo.AfflictionOnSpawn
get

◆ AfflictionStrength

int Barotrauma.StatusEffect.CharacterSpawnInfo.AfflictionStrength
get

◆ Count

int Barotrauma.StatusEffect.CharacterSpawnInfo.Count
get

◆ InheritEventTags

bool Barotrauma.StatusEffect.CharacterSpawnInfo.InheritEventTags
get

◆ Name

string Barotrauma.StatusEffect.CharacterSpawnInfo.Name
get

◆ Offset

Vector2 Barotrauma.StatusEffect.CharacterSpawnInfo.Offset
get

◆ RemovePreviousCharacter

bool Barotrauma.StatusEffect.CharacterSpawnInfo.RemovePreviousCharacter
get

◆ SerializableProperties

Dictionary<Identifier, SerializableProperty> Barotrauma.StatusEffect.CharacterSpawnInfo.SerializableProperties
getset

◆ SpeciesName

Identifier Barotrauma.StatusEffect.CharacterSpawnInfo.SpeciesName
get

◆ Spread

float Barotrauma.StatusEffect.CharacterSpawnInfo.Spread
get

◆ Stun

int Barotrauma.StatusEffect.CharacterSpawnInfo.Stun
get

◆ TotalMaxCount

int Barotrauma.StatusEffect.CharacterSpawnInfo.TotalMaxCount
get

◆ TransferAfflictions

bool Barotrauma.StatusEffect.CharacterSpawnInfo.TransferAfflictions
get

◆ TransferBuffs

bool Barotrauma.StatusEffect.CharacterSpawnInfo.TransferBuffs
get

◆ TransferControl

bool Barotrauma.StatusEffect.CharacterSpawnInfo.TransferControl
get

◆ TransferInventory

bool Barotrauma.StatusEffect.CharacterSpawnInfo.TransferInventory
get