Class RoomSettings
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class RoomSettings
- Inheritance
-
RoomSettings
- Inherited Members
-
Constructors
RoomSettings(string, Region, bool, bool, Name)
public RoomSettings(string name, Region region, bool template, bool firstTemplate, SlugcatStats.Name playerChar)
Parameters
name string
region Region
template bool
firstTemplate bool
playerChar SlugcatStats.Name
Fields
ambientSounds
public List<AmbientSound> ambientSounds
Field Value
- List<AmbientSound>
bkgDrnNoThreatVol
public float? bkgDrnNoThreatVol
Field Value
- float?
bkgDrnVl
Field Value
- float?
cDrips
Field Value
- float?
clds
Field Value
- float?
dType
public RoomRain.DangerType dType
Field Value
- RoomRain.DangerType
eColA
Field Value
- int?
eColB
Field Value
- int?
effects
public List<RoomSettings.RoomEffect> effects
Field Value
- List<RoomSettings.RoomEffect>
fadePalette
public RoomSettings.FadePalette fadePalette
Field Value
- RoomSettings.FadePalette
filePath
Field Value
- string
grm
Field Value
- float?
isAncestor
Field Value
- bool
isFirstTemplate
public bool isFirstTemplate
Field Value
- bool
isTemplate
Field Value
- bool
name
Field Value
- string
pal
Field Value
- int?
parent
public RoomSettings parent
Field Value
- RoomSettings
placedObjects
public List<PlacedObject> placedObjects
Field Value
- List<PlacedObject>
rInts
Field Value
- float?
rndItmDns
Field Value
- float?
rndItmSprChnc
public float? rndItmSprChnc
Field Value
- float?
roomSpecificScript
public bool roomSpecificScript
Field Value
- bool
rumInts
Field Value
- float?
swAmp
Field Value
- float?
swLength
Field Value
- float?
triggers
public List<EventTrigger> triggers
Field Value
- List<EventTrigger>
wAmp
Field Value
- float?
wLength
Field Value
- float?
wSpeed
Field Value
- float?
wetTerrain
Field Value
- bool
wtrRflctAlpha
public float? wtrRflctAlpha
Field Value
- float?
Properties
BkgDroneNoThreatVolume
public float BkgDroneNoThreatVolume { get; set; }
Property Value
- float
BkgDroneVolume
public float BkgDroneVolume { get; set; }
Property Value
- float
CeilingDrips
public float CeilingDrips { get; set; }
Property Value
- float
Clouds
public float Clouds { get; set; }
Property Value
- float
DangerType
public RoomRain.DangerType DangerType { get; set; }
Property Value
- RoomRain.DangerType
EffectColorA
public int EffectColorA { get; set; }
Property Value
- int
EffectColorB
public int EffectColorB { get; set; }
Property Value
- int
Grime
public float Grime { get; set; }
Property Value
- float
Palette
public int Palette { get; set; }
Property Value
- int
RainIntensity
public float RainIntensity { get; set; }
Property Value
- float
RandomItemDensity
public float RandomItemDensity { get; set; }
Property Value
- float
RandomItemSpearChance
public float RandomItemSpearChance { get; set; }
Property Value
- float
RumbleIntensity
public float RumbleIntensity { get; set; }
Property Value
- float
SecondWaveAmplitude
public float SecondWaveAmplitude { get; set; }
Property Value
- float
SecondWaveLength
public float SecondWaveLength { get; set; }
Property Value
- float
WaterReflectionAlpha
public float WaterReflectionAlpha { get; set; }
Property Value
- float
WaveAmplitude
public float WaveAmplitude { get; set; }
Property Value
- float
WaveLength
public float WaveLength { get; set; }
Property Value
- float
WaveSpeed
public float WaveSpeed { get; set; }
Property Value
- float
Methods
FindParent(Region)
public void FindParent(Region region)
Parameters
region Region
GetEffect(Type)
public RoomSettings.RoomEffect GetEffect(RoomSettings.RoomEffect.Type type)
Parameters
type RoomSettings.RoomEffect.Type
Returns
- RoomSettings.RoomEffect
GetEffectAmount(Type)
public float GetEffectAmount(RoomSettings.RoomEffect.Type type)
Parameters
type RoomSettings.RoomEffect.Type
Returns
- float
InheritAmbientSounds()
public void InheritAmbientSounds()
InheritEffects()
public void InheritEffects()
Load(Name)
public bool Load(SlugcatStats.Name playerChar)
Parameters
playerChar SlugcatStats.Name
Returns
- bool
LoadAmbientSounds(string[])
public void LoadAmbientSounds(string[] s)
Parameters
s string[]
LoadEffects(string[])
public void LoadEffects(string[] s)
Parameters
s string[]
LoadFadePalette(string[])
public void LoadFadePalette(string[] s)
Parameters
s string[]
LoadPlacedObjects(string[], Name)
public void LoadPlacedObjects(string[] s, SlugcatStats.Name playerChar)
Parameters
s string[]
playerChar SlugcatStats.Name
LoadTriggers(string[])
public void LoadTriggers(string[] s)
Parameters
s string[]
RemoveAmbientSound(Type, string)
public void RemoveAmbientSound(AmbientSound.Type type, string sampleName)
Parameters
type AmbientSound.Type
sampleName string
RemoveEffect(Type)
public void RemoveEffect(RoomSettings.RoomEffect.Type type)
Parameters
type RoomSettings.RoomEffect.Type
Reset()
Save()
Save(Name)
public void Save(SlugcatStats.Name slugcat)
Parameters
slugcat SlugcatStats.Name
Save(string, bool)
public void Save(string path, bool saveAsTemplate)
Parameters
path string
saveAsTemplate bool
SaveAsTemplate(string, Region)
public void SaveAsTemplate(string buttonText, Region region)
Parameters
buttonText string
region Region
SetTemplate(string, Region)
public void SetTemplate(string buttonText, Region region)
Parameters
buttonText string
region Region
SpecificPath(Name)
public string SpecificPath(SlugcatStats.Name id)
Parameters
id SlugcatStats.Name
Returns
- string