Class RainWorld
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class RainWorld : MonoBehaviour
- Inheritance
-
Object
Component
Behaviour
MonoBehaviour
RainWorld
- Inherited Members
-
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.useGUILayout
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectOfType<T>()
Object.ToString()
Object.name
Object.hideFlags
Fields
CurrentlyDrawingObject
public static IDrawable CurrentlyDrawingObject
Field Value
- IDrawable
DEMO_MODE
public static bool DEMO_MODE
Field Value
- bool
DEMO_TIMER
public static float DEMO_TIMER
Field Value
- float
DEMO_TIMER_DURATION
public static int DEMO_TIMER_DURATION
Field Value
- int
DEMO_TIMER_STARTED
public static bool DEMO_TIMER_STARTED
Field Value
- bool
DefaultWaterColor
public static Color DefaultWaterColor
Field Value
- Color
GAME_VERSION_STRING
public const string GAME_VERSION_STRING = "v1.9.07b"
Field Value
- string
LightMask0
public Texture2D LightMask0
Field Value
- Texture2D
PlayerObjectBodyColors
public static Color[] PlayerObjectBodyColors
Field Value
- Color[]
Shaders
public Dictionary<string, FShader> Shaders
Field Value
- Dictionary<string, FShader>
ShelterAfterPassage
public static string ShelterAfterPassage
Field Value
- string
ShelterBeforePassage
public static string ShelterBeforePassage
Field Value
- string
_CloudsTex
public Texture2D _CloudsTex
Field Value
- Texture2D
_NoiseTex
public Texture2D _NoiseTex
Field Value
- Texture2D
_NoiseTex2
public Texture2D _NoiseTex2
Field Value
- Texture2D
_TextGradientTex
public Texture2D _TextGradientTex
Field Value
- Texture2D
achievementData
[HideInInspector]
[SerializeField]
public AchievementData[] achievementData
Field Value
- AchievementData[]
achievementsUnlocked
public Dictionary<RainWorld.AchievementID, bool> achievementsUnlocked
Field Value
- Dictionary<RainWorld.AchievementID, bool>
apartmentsTex
public Texture2D apartmentsTex
Field Value
- Texture2D
buildType
public RainWorld.BuildType buildType
Field Value
- RainWorld.BuildType
cityPalette
public Texture2D cityPalette
Field Value
- Texture2D
corruption
public Texture2D corruption
Field Value
- Texture2D
energySwirl
public Texture2D energySwirl
Field Value
- Texture2D
flatIllustrations
public bool flatIllustrations
Field Value
- bool
gameVersion
public static int gameVersion
Field Value
- int
glyphs
Field Value
- Texture2D
inGameTranslator
public InGameTranslator inGameTranslator
Field Value
- InGameTranslator
lastActiveSaveSlot
public static SlugcatStats.Name lastActiveSaveSlot
Field Value
- SlugcatStats.Name
lastLoggedException
public string lastLoggedException
Field Value
- string
lastLoggedStackTrace
public string lastLoggedStackTrace
Field Value
- string
levelSnowShader
public Shader levelSnowShader
Field Value
- Shader
loadedWorldVersion
public static int loadedWorldVersion
Field Value
- int
lockGameTimer
public static bool lockGameTimer
Field Value
- bool
mapWaterColorInternal
public static Color mapWaterColorInternal
Field Value
- Color
maze
Field Value
- Texture2D
multiplayerHandlers
public List<PlayerHandler> multiplayerHandlers
Field Value
- List<PlayerHandler>
options
Field Value
- Options
pAngle
Field Value
- Texture2D
pain
Field Value
- bool
persistentData
public PersistentData persistentData
Field Value
- PersistentData
playerHandlerPrefab
[SerializeField]
public PlayerHandler playerHandlerPrefab
Field Value
- PlayerHandler
processManager
public ProcessManager processManager
Field Value
- ProcessManager
progression
public PlayerProgression progression
Field Value
- PlayerProgression
recentConsoleLog
public static string[] recentConsoleLog
Field Value
- string[]
regionBlueTokens
public Dictionary<string, List<MultiplayerUnlocks.SandboxUnlockID>> regionBlueTokens
Field Value
- Dictionary<string, List<MultiplayerUnlocks.SandboxUnlockID>>
regionBlueTokensAccessibility
public Dictionary<string, List<List<SlugcatStats.Name>>> regionBlueTokensAccessibility
Field Value
- Dictionary<string, List<List<SlugcatStats.Name>>>
regionGoldTokens
public Dictionary<string, List<MultiplayerUnlocks.LevelUnlockID>> regionGoldTokens
Field Value
- Dictionary<string, List<MultiplayerUnlocks.LevelUnlockID>>
regionGoldTokensAccessibility
public Dictionary<string, List<List<SlugcatStats.Name>>> regionGoldTokensAccessibility
Field Value
- Dictionary<string, List<List<SlugcatStats.Name>>>
regionGreenTokens
public Dictionary<string, List<MultiplayerUnlocks.SlugcatUnlockID>> regionGreenTokens
Field Value
- Dictionary<string, List<MultiplayerUnlocks.SlugcatUnlockID>>
regionGreenTokensAccessibility
public Dictionary<string, List<List<SlugcatStats.Name>>> regionGreenTokensAccessibility
Field Value
- Dictionary<string, List<List<SlugcatStats.Name>>>
regionGreyTokens
public Dictionary<string, List<ChatlogData.ChatlogID>> regionGreyTokens
Field Value
- Dictionary<string, List<ChatlogData.ChatlogID>>
regionRedTokens
public Dictionary<string, List<MultiplayerUnlocks.SafariUnlockID>> regionRedTokens
Field Value
- Dictionary<string, List<MultiplayerUnlocks.SafariUnlockID>>
regionRedTokensAccessibility
public Dictionary<string, List<List<SlugcatStats.Name>>> regionRedTokensAccessibility
Field Value
- Dictionary<string, List<List<SlugcatStats.Name>>>
roomIndexToName
public static Dictionary<int, string> roomIndexToName
Field Value
- Dictionary<int, string>
roomNameToIndex
public static Dictionary<string, int> roomNameToIndex
Field Value
- Dictionary<string, int>
safariMode
Field Value
- bool
safariRainDisable
public bool safariRainDisable
Field Value
- bool
safariRegion
public string safariRegion
Field Value
- string
safariSlugcat
public SlugcatStats.Name safariSlugcat
Field Value
- SlugcatStats.Name
saveBackedUp
Field Value
- bool
setup
public RainWorldGame.SetupValues setup
Field Value
- RainWorldGame.SetupValues
skipVoidSea
Field Value
- bool
sootMark
public Texture2D sootMark
Field Value
- Texture2D
sootMark2
public Texture2D sootMark2
Field Value
- Texture2D
started
Field Value
- bool
uniNoise
public Texture2D uniNoise
Field Value
- Texture2D
worldVersion
public static int worldVersion
Field Value
- int
Properties
AntiGold
public static HSLColor AntiGold { get; }
Property Value
- HSLColor
ExpeditionMode
public bool ExpeditionMode { get; }
Property Value
- bool
GoldHSL
public static HSLColor GoldHSL { get; }
Property Value
- HSLColor
GoldRGB
public static Color GoldRGB { get; }
Property Value
- Color
MapColor
public static Color MapColor { get; }
Property Value
- Color
OptionsReady
public bool OptionsReady { get; }
Property Value
- bool
SaturatedGold
public static Color SaturatedGold { get; }
Property Value
- Color
ShowLogs
public static bool ShowLogs { get; }
Property Value
- bool
assetBundlesInitialized
public bool assetBundlesInitialized { get; set; }
Property Value
- bool
dlcVersion
public int dlcVersion { get; set; }
Property Value
- int
public bool platformInitialized { get; set; }
Property Value
- bool
playerHandler
public PlayerHandler playerHandler { get; set; }
Property Value
- PlayerHandler
public InputManager rewiredInputManager { get; set; }
Property Value
- InputManager
screenSize
public Vector2 screenSize { get; }
Property Value
- Vector2
Methods
AchievementAlreadyDisplayed(AchievementID)
public bool AchievementAlreadyDisplayed(RainWorld.AchievementID ID)
Parameters
ID RainWorld.AchievementID
Returns
- bool
AchievementAlreadyDisplayedGOG(AchievementID)
public bool AchievementAlreadyDisplayedGOG(RainWorld.AchievementID ID)
Parameters
ID RainWorld.AchievementID
Returns
- bool
AchievementsLoad()
public void AchievementsLoad()
public void Achievements_OnAchievementRetrieved(Profiles.Profile profile, IAchievement achievement)
Parameters
profile Profiles.Profile
achievement IAchievement
public void Achievements_OnAchievementUnlocked(Profiles.Profile profile, IAchievement achievement)
Parameters
profile Profiles.Profile
achievement IAchievement
Achievements_OnAchievementsLoaded(Profile, bool)
public void Achievements_OnAchievementsLoaded(Profiles.Profile profile, bool success)
Parameters
profile Profiles.Profile
success bool
Awake()
BuildTokenCache(bool, string)
public void BuildTokenCache(bool modded, string region)
Parameters
modded bool
region string
ClearTokenCacheInMemory()
public void ClearTokenCacheInMemory()
DeactivateAllPlayers()
public void DeactivateAllPlayers()
DeactivatePlayer(int)
public void DeactivatePlayer(int playerNumber)
Parameters
playerNumber int
EncryptUtility()
public void EncryptUtility()
FilterTokenClearance(List<Name>, List<Name>, List<Name>)
public List<SlugcatStats.Name> FilterTokenClearance(List<SlugcatStats.Name> newData, List<SlugcatStats.Name> oldData, List<SlugcatStats.Name> FilterSlots)
Parameters
newData List<SlugcatStats.Name>
oldData List<SlugcatStats.Name>
FilterSlots List<SlugcatStats.Name>
Returns
- List<SlugcatStats.Name>
GetPlayerHandler(int)
public PlayerHandler GetPlayerHandler(int playerNumber)
Parameters
playerNumber int
Returns
- PlayerHandler
GetPlayerHandlerRaw(int)
public PlayerHandler GetPlayerHandlerRaw(int playerNumber)
Parameters
playerNumber int
Returns
- PlayerHandler
GetPlayerSigningIn(int)
public bool GetPlayerSigningIn(int playerNumber)
Parameters
playerNumber int
Returns
- bool
HandleLog(string, string, LogType)
public void HandleLog(string logString, string stackTrace, LogType type)
Parameters
logString string
stackTrace string
type LogType
InitializeAssetBundles()
public IEnumerator InitializeAssetBundles()
Returns
- IEnumerator
IsPlayerActive(int)
public bool IsPlayerActive(int playerNumber)
Parameters
playerNumber int
Returns
- bool
JoystickConnected(ControllerStatusChangedEventArgs)
public void JoystickConnected(ControllerStatusChangedEventArgs args)
Parameters
args ControllerStatusChangedEventArgs
JoystickDisconnected(ControllerStatusChangedEventArgs)
public void JoystickDisconnected(ControllerStatusChangedEventArgs args)
Parameters
args ControllerStatusChangedEventArgs
JoystickPreDisconnect(ControllerStatusChangedEventArgs)
public void JoystickPreDisconnect(ControllerStatusChangedEventArgs args)
Parameters
args ControllerStatusChangedEventArgs
LoadIndexMapsIntoMemory(int)
public static void LoadIndexMapsIntoMemory(int worldVersion)
Parameters
worldVersion int
LoadResources()
public void LoadResources()
LoadSetupValues(bool)
public static RainWorldGame.SetupValues LoadSetupValues(bool distributionBuild)
Parameters
distributionBuild bool
Returns
- RainWorldGame.SetupValues
MapWaterColor(Color?)
public static Color MapWaterColor(Color? set)
Parameters
set Color?
Returns
- Color
OnDestroy()
OnModsDisabled(Mod[])
public void OnModsDisabled(ModManager.Mod[] newlyDisabledMods)
Parameters
newlyDisabledMods Mod[]
OnModsEnabled(Mod[])
public void OnModsEnabled(ModManager.Mod[] newlyEnabledMods)
Parameters
newlyEnabledMods Mod[]
OnModsInit()
PingAchievement(AchievementID)
public void PingAchievement(RainWorld.AchievementID ID)
Parameters
ID RainWorld.AchievementID
PingAchievementGOG(AchievementID)
public void PingAchievementGOG(RainWorld.AchievementID ID)
Parameters
ID RainWorld.AchievementID
public void Platform_OnInitialized()
public void Platform_OnRequestAchievementsLoad(List<object> pendingAchievementsLoads)
Parameters
pendingAchievementsLoads List<object>
PostModsDisabledEnabled()
public void PostModsDisabledEnabled()
PostModsInit()
public void PostModsInit()
PreModsDisabledEnabled()
public void PreModsDisabledEnabled()
PreModsInit()
public void PreModsInit()
Profiles_OnActivated(Profile)
public void Profiles_OnActivated(Profiles.Profile profile)
Parameters
profile Profiles.Profile
ReadTokenCache()
public void ReadTokenCache()
RequestPlayerSignIn(int, Joystick)
public void RequestPlayerSignIn(int playerNumber, Joystick requestedJoystick)
Parameters
playerNumber int
requestedJoystick Joystick
ResetDemoTimer()
public void ResetDemoTimer()
SetGlobalTextures()
public void SetGlobalTextures()
Start()
UnloadResources()
public void UnloadResources()
Update()
public void UserInput_OnControllerDisconnected(Profiles.Profile profile)
Parameters
profile Profiles.Profile