Barotrauma Client Doc
Barotrauma.WreckAIConfig Class Reference
Inheritance diagram for Barotrauma.WreckAIConfig:
Barotrauma.PrefabWithUintIdentifier Barotrauma.ISerializableEntity Barotrauma.Prefab

Public Member Functions

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

Static Public Member Functions

static WreckAIConfig GetRandom ()
 
- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 

Public Attributes

readonly Identifier[] ForbiddenAmmunition
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabCollection< WreckAIConfigPrefabs = new PrefabCollection<WreckAIConfig>()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Protected Member Functions

override Identifier DetermineIdentifier (XElement element)
 
- Protected Member Functions inherited from Barotrauma.PrefabWithUintIdentifier
 PrefabWithUintIdentifier (ContentFile file, Identifier identifier)
 
 PrefabWithUintIdentifier (ContentFile file, ContentXElement element)
 

Properties

string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
Identifier Entity [get]
 
Identifier DefensiveAgent [get]
 
string OffensiveAgent [get]
 
string Brain [get]
 
Identifier Spawner [get]
 
string BrainRoomBackground [get]
 
string BrainRoomVerticalWall [get]
 
string BrainRoomHorizontalWall [get]
 
float AgentSpawnDelay [get]
 
float AgentSpawnDelayRandomFactor [get]
 
float AgentSpawnDelayDifficultyMultiplier [get]
 
float AgentSpawnCountDifficultyMultiplier [get]
 
int MinAgentsPerBrainRoom [get]
 
int MaxAgentsPerRoom [get]
 
int MinAgentsOutside [get]
 
int MaxAgentsOutside [get]
 
int MinAgentsInside [get]
 
int MaxAgentsInside [get]
 
int MaxAgentCount [get]
 
float MinWaterLevel [get]
 
bool KillAgentsWhenEntityDies [get]
 
float DeadEntityColorMultiplier [get]
 
float DeadEntityColorFadeOutTime [get]
 
- Properties inherited from Barotrauma.PrefabWithUintIdentifier
UInt32 UintIdentifier [get, set]
 
- Properties inherited from Barotrauma.Prefab
ContentPackageContentPackage [get]
 
ContentPath FilePath [get]
 
- Properties inherited from Barotrauma.ISerializableEntity
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Detailed Description

Definition at line 10 of file WreckAIConfig.cs.

Constructor & Destructor Documentation

◆ WreckAIConfig()

Barotrauma.WreckAIConfig.WreckAIConfig ( ContentXElement  element,
WreckAIConfigFile  file 
)

Definition at line 95 of file WreckAIConfig.cs.

Member Function Documentation

◆ DetermineIdentifier()

override Identifier Barotrauma.WreckAIConfig.DetermineIdentifier ( XElement  element)
protectedvirtual

Reimplemented from Barotrauma.Prefab.

Definition at line 90 of file WreckAIConfig.cs.

◆ Dispose()

override void Barotrauma.WreckAIConfig.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 101 of file WreckAIConfig.cs.

◆ GetRandom()

static WreckAIConfig Barotrauma.WreckAIConfig.GetRandom ( )
static

Member Data Documentation

◆ ForbiddenAmmunition

readonly Identifier [] Barotrauma.WreckAIConfig.ForbiddenAmmunition

Definition at line 86 of file WreckAIConfig.cs.

◆ Prefabs

readonly PrefabCollection<WreckAIConfig> Barotrauma.WreckAIConfig.Prefabs = new PrefabCollection<WreckAIConfig>()
static

Definition at line 12 of file WreckAIConfig.cs.

Property Documentation

◆ AgentSpawnCountDifficultyMultiplier

float Barotrauma.WreckAIConfig.AgentSpawnCountDifficultyMultiplier
get

Definition at line 51 of file WreckAIConfig.cs.

◆ AgentSpawnDelay

float Barotrauma.WreckAIConfig.AgentSpawnDelay
get

Definition at line 42 of file WreckAIConfig.cs.

◆ AgentSpawnDelayDifficultyMultiplier

float Barotrauma.WreckAIConfig.AgentSpawnDelayDifficultyMultiplier
get

Definition at line 48 of file WreckAIConfig.cs.

◆ AgentSpawnDelayRandomFactor

float Barotrauma.WreckAIConfig.AgentSpawnDelayRandomFactor
get

Definition at line 45 of file WreckAIConfig.cs.

◆ Brain

string Barotrauma.WreckAIConfig.Brain
get

Definition at line 27 of file WreckAIConfig.cs.

◆ BrainRoomBackground

string Barotrauma.WreckAIConfig.BrainRoomBackground
get

Definition at line 33 of file WreckAIConfig.cs.

◆ BrainRoomHorizontalWall

string Barotrauma.WreckAIConfig.BrainRoomHorizontalWall
get

Definition at line 39 of file WreckAIConfig.cs.

◆ BrainRoomVerticalWall

string Barotrauma.WreckAIConfig.BrainRoomVerticalWall
get

Definition at line 36 of file WreckAIConfig.cs.

◆ DeadEntityColorFadeOutTime

float Barotrauma.WreckAIConfig.DeadEntityColorFadeOutTime
get

Definition at line 84 of file WreckAIConfig.cs.

◆ DeadEntityColorMultiplier

float Barotrauma.WreckAIConfig.DeadEntityColorMultiplier
get

Definition at line 81 of file WreckAIConfig.cs.

◆ DefensiveAgent

Identifier Barotrauma.WreckAIConfig.DefensiveAgent
get

Definition at line 21 of file WreckAIConfig.cs.

◆ Entity

Identifier Barotrauma.WreckAIConfig.Entity
get

Definition at line 18 of file WreckAIConfig.cs.

◆ KillAgentsWhenEntityDies

bool Barotrauma.WreckAIConfig.KillAgentsWhenEntityDies
get

Definition at line 78 of file WreckAIConfig.cs.

◆ MaxAgentCount

int Barotrauma.WreckAIConfig.MaxAgentCount
get

Definition at line 72 of file WreckAIConfig.cs.

◆ MaxAgentsInside

int Barotrauma.WreckAIConfig.MaxAgentsInside
get

Definition at line 69 of file WreckAIConfig.cs.

◆ MaxAgentsOutside

int Barotrauma.WreckAIConfig.MaxAgentsOutside
get

Definition at line 63 of file WreckAIConfig.cs.

◆ MaxAgentsPerRoom

int Barotrauma.WreckAIConfig.MaxAgentsPerRoom
get

Definition at line 57 of file WreckAIConfig.cs.

◆ MinAgentsInside

int Barotrauma.WreckAIConfig.MinAgentsInside
get

Definition at line 66 of file WreckAIConfig.cs.

◆ MinAgentsOutside

int Barotrauma.WreckAIConfig.MinAgentsOutside
get

Definition at line 60 of file WreckAIConfig.cs.

◆ MinAgentsPerBrainRoom

int Barotrauma.WreckAIConfig.MinAgentsPerBrainRoom
get

Definition at line 54 of file WreckAIConfig.cs.

◆ MinWaterLevel

float Barotrauma.WreckAIConfig.MinWaterLevel
get

Definition at line 75 of file WreckAIConfig.cs.

◆ Name

string Barotrauma.WreckAIConfig.Name
get

Definition at line 14 of file WreckAIConfig.cs.

◆ OffensiveAgent

string Barotrauma.WreckAIConfig.OffensiveAgent
get

Definition at line 24 of file WreckAIConfig.cs.

◆ SerializableProperties

Dictionary<Identifier, SerializableProperty> Barotrauma.WreckAIConfig.SerializableProperties
get

Definition at line 16 of file WreckAIConfig.cs.

◆ Spawner

Identifier Barotrauma.WreckAIConfig.Spawner
get

Definition at line 30 of file WreckAIConfig.cs.