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

Public Member Functions

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

Public Attributes

readonly bool ShowLocations = true
 
readonly bool ShowLevelTypeNames = false
 
readonly bool ShowOverlay = true
 
readonly ImmutableArray< int > GateCount
 
readonly ImmutableDictionary< Identifier, ImmutableArray< Sprite > > MapTiles
 
RadiationParams RadiationParams
 
- Public Attributes inherited from Barotrauma.Prefab
readonly Identifier Identifier
 
readonly ContentFile ContentFile
 

Static Public Attributes

static readonly PrefabSelector< MapGenerationParamsParams = new PrefabSelector<MapGenerationParams>()
 
- Static Public Attributes inherited from Barotrauma.Prefab
static readonly ImmutableHashSet< Type > Types
 

Properties

static MapGenerationParams Instance [get]
 
int DifficultyZones [get, set]
 
int Width [get, set]
 
int Height [get, set]
 
float SmallLevelConnectionLength [get, set]
 
float LargeLevelConnectionLength [get, set]
 
Point VoronoiSiteInterval [get, set]
 
Point VoronoiSiteVariance [get, set]
 
float MinConnectionDistance [get, set]
 
float MinLocationDistance [get, set]
 
float ConnectionIndicatorIterationMultiplier [get, set]
 
float ConnectionIndicatorDisplacementMultiplier [get, set]
 
float MinZoom [get, set]
 
float MaxZoom [get, set]
 
float MapTileScale [get, set]
 
float LocationIconSize [get, set]
 
float LocationConnectionWidth [get, set]
 
Color IndicatorColor [get, set]
 
Color ConnectionColor [get, set]
 
Color HighlightedConnectionColor [get, set]
 
Color UnvisitedConnectionColor [get, set]
 
Sprite ConnectionSprite [get]
 
Sprite PassedConnectionSprite [get]
 
SpriteSheet DecorativeGraphSprite [get]
 
Sprite MissionIcon [get]
 
Sprite TypeChangeIcon [get]
 
Sprite FogOfWarSprite [get]
 
Sprite CurrentLocationIndicator [get]
 
Sprite SelectedLocationIndicator [get]
 
string Name [get]
 
Dictionary< Identifier, SerializablePropertySerializableProperties [get]
 
- 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

- Static Public Member Functions inherited from Barotrauma.Prefab
static void DisallowCallFromConstructor ()
 
- Protected Member Functions inherited from Barotrauma.Prefab
virtual Identifier DetermineIdentifier (XElement element)
 

Detailed Description

Definition at line 10 of file MapGenerationParams.cs.

Constructor & Destructor Documentation

◆ MapGenerationParams()

Barotrauma.MapGenerationParams.MapGenerationParams ( ContentXElement  element,
MapGenerationParametersFile  file 
)

Definition at line 126 of file MapGenerationParams.cs.

Member Function Documentation

◆ Dispose()

override void Barotrauma.MapGenerationParams.Dispose ( )
virtual

Implements Barotrauma.Prefab.

Definition at line 192 of file MapGenerationParams.cs.

Member Data Documentation

◆ GateCount

readonly ImmutableArray<int> Barotrauma.MapGenerationParams.GateCount

Definition at line 71 of file MapGenerationParams.cs.

◆ MapTiles

readonly ImmutableDictionary<Identifier, ImmutableArray<Sprite> > Barotrauma.MapGenerationParams.MapTiles

Definition at line 114 of file MapGenerationParams.cs.

◆ Params

readonly PrefabSelector<MapGenerationParams> Barotrauma.MapGenerationParams.Params = new PrefabSelector<MapGenerationParams>()
static

Definition at line 12 of file MapGenerationParams.cs.

◆ RadiationParams

RadiationParams Barotrauma.MapGenerationParams.RadiationParams

Definition at line 124 of file MapGenerationParams.cs.

◆ ShowLevelTypeNames

readonly bool Barotrauma.MapGenerationParams.ShowLevelTypeNames = false

Definition at line 32 of file MapGenerationParams.cs.

◆ ShowLocations

readonly bool Barotrauma.MapGenerationParams.ShowLocations = true

Definition at line 31 of file MapGenerationParams.cs.

◆ ShowOverlay

readonly bool Barotrauma.MapGenerationParams.ShowOverlay = true

Definition at line 33 of file MapGenerationParams.cs.

Property Documentation

◆ ConnectionColor

Color Barotrauma.MapGenerationParams.ConnectionColor
getset

Definition at line 94 of file MapGenerationParams.cs.

◆ ConnectionIndicatorDisplacementMultiplier

float Barotrauma.MapGenerationParams.ConnectionIndicatorDisplacementMultiplier
getset

Definition at line 69 of file MapGenerationParams.cs.

◆ ConnectionIndicatorIterationMultiplier

float Barotrauma.MapGenerationParams.ConnectionIndicatorIterationMultiplier
getset

Definition at line 66 of file MapGenerationParams.cs.

◆ ConnectionSprite

Sprite Barotrauma.MapGenerationParams.ConnectionSprite
get

Definition at line 102 of file MapGenerationParams.cs.

◆ CurrentLocationIndicator

Sprite Barotrauma.MapGenerationParams.CurrentLocationIndicator
get

Definition at line 111 of file MapGenerationParams.cs.

◆ DecorativeGraphSprite

SpriteSheet Barotrauma.MapGenerationParams.DecorativeGraphSprite
get

Definition at line 105 of file MapGenerationParams.cs.

◆ DifficultyZones

int Barotrauma.MapGenerationParams.DifficultyZones
getset

Definition at line 37 of file MapGenerationParams.cs.

◆ FogOfWarSprite

Sprite Barotrauma.MapGenerationParams.FogOfWarSprite
get

Definition at line 110 of file MapGenerationParams.cs.

◆ Height

int Barotrauma.MapGenerationParams.Height
getset

Definition at line 43 of file MapGenerationParams.cs.

◆ HighlightedConnectionColor

Color Barotrauma.MapGenerationParams.HighlightedConnectionColor
getset

Definition at line 97 of file MapGenerationParams.cs.

◆ IndicatorColor

Color Barotrauma.MapGenerationParams.IndicatorColor
getset

Definition at line 91 of file MapGenerationParams.cs.

◆ Instance

MapGenerationParams Barotrauma.MapGenerationParams.Instance
staticget

Definition at line 13 of file MapGenerationParams.cs.

◆ LargeLevelConnectionLength

float Barotrauma.MapGenerationParams.LargeLevelConnectionLength
getset

Definition at line 49 of file MapGenerationParams.cs.

◆ LocationConnectionWidth

float Barotrauma.MapGenerationParams.LocationConnectionWidth
getset

Definition at line 88 of file MapGenerationParams.cs.

◆ LocationIconSize

float Barotrauma.MapGenerationParams.LocationIconSize
getset

Definition at line 85 of file MapGenerationParams.cs.

◆ MapTileScale

float Barotrauma.MapGenerationParams.MapTileScale
getset

Definition at line 82 of file MapGenerationParams.cs.

◆ MaxZoom

float Barotrauma.MapGenerationParams.MaxZoom
getset

Definition at line 79 of file MapGenerationParams.cs.

◆ MinConnectionDistance

float Barotrauma.MapGenerationParams.MinConnectionDistance
getset

Definition at line 60 of file MapGenerationParams.cs.

◆ MinLocationDistance

float Barotrauma.MapGenerationParams.MinLocationDistance
getset

Definition at line 63 of file MapGenerationParams.cs.

◆ MinZoom

float Barotrauma.MapGenerationParams.MinZoom
getset

Definition at line 76 of file MapGenerationParams.cs.

◆ MissionIcon

Sprite Barotrauma.MapGenerationParams.MissionIcon
get

Definition at line 107 of file MapGenerationParams.cs.

◆ Name

string Barotrauma.MapGenerationParams.Name
get

Definition at line 117 of file MapGenerationParams.cs.

◆ PassedConnectionSprite

Sprite Barotrauma.MapGenerationParams.PassedConnectionSprite
get

Definition at line 103 of file MapGenerationParams.cs.

◆ SelectedLocationIndicator

Sprite Barotrauma.MapGenerationParams.SelectedLocationIndicator
get

Definition at line 112 of file MapGenerationParams.cs.

◆ SerializableProperties

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

Definition at line 119 of file MapGenerationParams.cs.

◆ SmallLevelConnectionLength

float Barotrauma.MapGenerationParams.SmallLevelConnectionLength
getset

Definition at line 46 of file MapGenerationParams.cs.

◆ TypeChangeIcon

Sprite Barotrauma.MapGenerationParams.TypeChangeIcon
get

Definition at line 108 of file MapGenerationParams.cs.

◆ UnvisitedConnectionColor

Color Barotrauma.MapGenerationParams.UnvisitedConnectionColor
getset

Definition at line 100 of file MapGenerationParams.cs.

◆ VoronoiSiteInterval

Point Barotrauma.MapGenerationParams.VoronoiSiteInterval
getset

Definition at line 54 of file MapGenerationParams.cs.

◆ VoronoiSiteVariance

Point Barotrauma.MapGenerationParams.VoronoiSiteVariance
getset

Definition at line 57 of file MapGenerationParams.cs.

◆ Width

int Barotrauma.MapGenerationParams.Width
getset

Definition at line 40 of file MapGenerationParams.cs.