Barotrauma Client
Loading...
Searching...
No Matches
Barotrauma.OutpostGenerationParams Class Reference
Inheritance diagram for Barotrauma.OutpostGenerationParams:
Barotrauma.PrefabWithUintIdentifier Barotrauma.ISerializableEntity Barotrauma.Prefab Barotrauma.RuinGeneration.RuinGenerationParams

Classes

class  ModuleCount
 

Public Member Functions

 OutpostGenerationParams (ContentXElement element, ContentFile file)
 
int GetModuleCount (Identifier moduleFlag)
 
void SetModuleCount (Identifier moduleFlag, int count)
 
void SetAllowedLocationTypes (IEnumerable< Identifier > allowedLocationTypes)
 
IReadOnlyList< HumanPrefabGetHumanPrefabs (IEnumerable< FactionPrefab > factions, Rand.RandSync randSync)
 
bool CanHaveCampaignInteraction (CampaignMode.InteractionType interactionType)
 
ImmutableHashSet< IdentifierGetStoreIdentifiers ()
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.Prefab
 Prefab (ContentFile file, Identifier identifier)
 
 Prefab (ContentFile file, ContentXElement element)
 
void Dispose ()
 

Static Public Attributes

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

Properties

virtual string Name [get]
 
IEnumerable< IdentifierAllowedLocationTypes [get]
 Identifiers of the location types this outpost can appear in. If empty, can appear in all types of locations.
 
int ForceToEndLocationIndex [get, set]
 
int PreferredDifficulty [get, set]
 
int TotalModuleCount [get, set]
 
bool AppendToReachTotalModuleCount [get, set]
 
float MinHallwayLength [get, set]
 
bool AlwaysDestructible [get, set]
 
bool AlwaysRewireable [get, set]
 
bool AllowStealing [get, set]
 
bool SpawnCrewInsideOutpost [get, set]
 
bool LockUnusedDoors [get, set]
 
bool RemoveUnusedGaps [get, set]
 
bool DrawBehindSubs [get, set]
 
float MinWaterPercentage [get, set]
 
float MaxWaterPercentage [get, set]
 
LevelData.? LevelType LevelType [get, set]
 
string ReplaceInRadiation [get, set]
 
bool AlwaysShowStructuresOnSonar [get, set]
 
ContentPath OutpostFilePath [get, set]
 
IReadOnlyList< ModuleCountModuleCounts [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [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

Additional Inherited Members

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 
- Protected Member Functions inherited from Barotrauma.PrefabWithUintIdentifier
 PrefabWithUintIdentifier (ContentFile file, Identifier identifier)
 
 PrefabWithUintIdentifier (ContentFile file, ContentXElement element)
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 

Constructor & Destructor Documentation

◆ OutpostGenerationParams()

Barotrauma.OutpostGenerationParams.OutpostGenerationParams ( ContentXElement element,
ContentFile file )

Member Function Documentation

◆ CanHaveCampaignInteraction()

bool Barotrauma.OutpostGenerationParams.CanHaveCampaignInteraction ( CampaignMode.InteractionType interactionType)

◆ Dispose()

override void Barotrauma.OutpostGenerationParams.Dispose ( )

◆ GetHumanPrefabs()

IReadOnlyList< HumanPrefab > Barotrauma.OutpostGenerationParams.GetHumanPrefabs ( IEnumerable< FactionPrefab > factions,
Rand.RandSync randSync )

◆ GetModuleCount()

int Barotrauma.OutpostGenerationParams.GetModuleCount ( Identifier moduleFlag)

◆ GetStoreIdentifiers()

ImmutableHashSet< Identifier > Barotrauma.OutpostGenerationParams.GetStoreIdentifiers ( )

◆ SetAllowedLocationTypes()

void Barotrauma.OutpostGenerationParams.SetAllowedLocationTypes ( IEnumerable< Identifier > allowedLocationTypes)

◆ SetModuleCount()

void Barotrauma.OutpostGenerationParams.SetModuleCount ( Identifier moduleFlag,
int count )

Member Data Documentation

◆ OutpostParams

readonly PrefabCollection<OutpostGenerationParams> Barotrauma.OutpostGenerationParams.OutpostParams = new PrefabCollection<OutpostGenerationParams>()
static

Property Documentation

◆ AllowedLocationTypes

IEnumerable<Identifier> Barotrauma.OutpostGenerationParams.AllowedLocationTypes
get

Identifiers of the location types this outpost can appear in. If empty, can appear in all types of locations.

◆ AllowStealing

bool Barotrauma.OutpostGenerationParams.AllowStealing
getset

◆ AlwaysDestructible

bool Barotrauma.OutpostGenerationParams.AlwaysDestructible
getset

◆ AlwaysRewireable

bool Barotrauma.OutpostGenerationParams.AlwaysRewireable
getset

◆ AlwaysShowStructuresOnSonar

bool Barotrauma.OutpostGenerationParams.AlwaysShowStructuresOnSonar
getset

◆ AppendToReachTotalModuleCount

bool Barotrauma.OutpostGenerationParams.AppendToReachTotalModuleCount
getset

◆ DrawBehindSubs

bool Barotrauma.OutpostGenerationParams.DrawBehindSubs
getset

◆ ForceToEndLocationIndex

int Barotrauma.OutpostGenerationParams.ForceToEndLocationIndex
getset

◆ LevelType

LevelData.? LevelType Barotrauma.OutpostGenerationParams.LevelType
getset

◆ LockUnusedDoors

bool Barotrauma.OutpostGenerationParams.LockUnusedDoors
getset

◆ MaxWaterPercentage

float Barotrauma.OutpostGenerationParams.MaxWaterPercentage
getset

◆ MinHallwayLength

float Barotrauma.OutpostGenerationParams.MinHallwayLength
getset

◆ MinWaterPercentage

float Barotrauma.OutpostGenerationParams.MinWaterPercentage
getset

◆ ModuleCounts

IReadOnlyList<ModuleCount> Barotrauma.OutpostGenerationParams.ModuleCounts
get

◆ Name

virtual string Barotrauma.OutpostGenerationParams.Name
get

◆ OutpostFilePath

ContentPath Barotrauma.OutpostGenerationParams.OutpostFilePath
getset

◆ PreferredDifficulty

int Barotrauma.OutpostGenerationParams.PreferredDifficulty
getset

◆ RemoveUnusedGaps

bool Barotrauma.OutpostGenerationParams.RemoveUnusedGaps
getset

◆ ReplaceInRadiation

string Barotrauma.OutpostGenerationParams.ReplaceInRadiation
getset

◆ SerializableProperties

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

◆ SpawnCrewInsideOutpost

bool Barotrauma.OutpostGenerationParams.SpawnCrewInsideOutpost
getset

◆ TotalModuleCount

int Barotrauma.OutpostGenerationParams.TotalModuleCount
getset

The documentation for this class was generated from the following file: