Barotrauma Client Doc
Barotrauma.RuinGeneration.RuinGenerationParams Class Reference
Inheritance diagram for Barotrauma.RuinGeneration.RuinGenerationParams:
Barotrauma.OutpostGenerationParams Barotrauma.PrefabWithUintIdentifier Barotrauma.ISerializableEntity Barotrauma.Prefab

Public Member Functions

 RuinGenerationParams (ContentXElement element, RuinConfigFile file)
 
override void Dispose ()
 
- Public Member Functions inherited from Barotrauma.OutpostGenerationParams
 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)
 

Static Public Member Functions

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

Static Public Attributes

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

Properties

override string Name [get]
 
bool IsMissionReady [get, set]
 
- Properties inherited from Barotrauma.OutpostGenerationParams
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. More...
 
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]
 
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
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 

Additional Inherited Members

- 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)
 

Detailed Description

Definition at line 23 of file RuinGenerationParams.cs.

Constructor & Destructor Documentation

◆ RuinGenerationParams()

Barotrauma.RuinGeneration.RuinGenerationParams.RuinGenerationParams ( ContentXElement  element,
RuinConfigFile  file 
)

Definition at line 33 of file RuinGenerationParams.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.RuinGeneration.RuinGenerationParams.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 68 of file RuinGenerationParams.cs.

◆ SaveAll()

static void Barotrauma.RuinGeneration.RuinGenerationParams.SaveAll ( )
static

Definition at line 35 of file RuinGenerationParams.cs.

Member Data Documentation

◆ RuinParams

readonly PrefabCollection<RuinGenerationParams> Barotrauma.RuinGeneration.RuinGenerationParams.RuinParams
static
Initial value:
=
new PrefabCollection<RuinGenerationParams>()

Definition at line 25 of file RuinGenerationParams.cs.

Property Documentation

◆ IsMissionReady

bool Barotrauma.RuinGeneration.RuinGenerationParams.IsMissionReady
getset

Definition at line 31 of file RuinGenerationParams.cs.

◆ Name

override string Barotrauma.RuinGeneration.RuinGenerationParams.Name
get

Definition at line 28 of file RuinGenerationParams.cs.