Class RainWorldGame
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public class RainWorldGame : MainLoopProcess
- Inheritance
-
RainWorldGame
- Inherited Members
-
Constructors
RainWorldGame(ProcessManager)
public RainWorldGame(ProcessManager manager)
Parameters
manager ProcessManager
Fields
AV
public AccessibilityVisualizer AV
Field Value
- AccessibilityVisualizer
DEBUGMODE
Field Value
- bool
abstractSpaceVisualizer
public AbstractSpaceVisualizer abstractSpaceVisualizer
Field Value
- AbstractSpaceVisualizer
arenaOverlay
public ArenaOverlay arenaOverlay
Field Value
- ArenaOverlay
autoPupStoryCompanionPlayers
public bool autoPupStoryCompanionPlayers
Field Value
- bool
clock
Field Value
- int
console
public ConsoleVisualizer console
Field Value
- ConsoleVisualizer
consoleVisible
public bool consoleVisible
Field Value
- bool
debugGraphDrawer
public DebugGraphDrawer debugGraphDrawer
Field Value
- DebugGraphDrawer
public bool devToolsActive
Field Value
- bool
public FLabel devToolsLabel
Field Value
- FLabel
devUI
Field Value
- DevUI
evenUpdate
Field Value
- bool
globalRain
public GlobalRain globalRain
Field Value
- GlobalRain
public List<Menu> grafUpdateMenus
Field Value
- List<Menu>
hDown
Field Value
- bool
kDown
Field Value
- bool
public bool lastPauseButton
Field Value
- bool
public bool lastRestartButton
Field Value
- bool
mDown
Field Value
- bool
mapVisible
Field Value
- bool
nextIssuedId
Field Value
- int
numberOfUtilityVisualizers
public int numberOfUtilityVisualizers
Field Value
- int
oDown
Field Value
- bool
overWorld
public OverWorld overWorld
Field Value
- OverWorld
pDown
Field Value
- bool
pathfinderResourceDivider
public PathfinderResourceDivider pathfinderResourceDivider
Field Value
- PathfinderResourceDivider
public PauseMenu pauseMenu
Field Value
- PauseMenu
pauseUpdate
Field Value
- bool
paused
Field Value
- bool
playedGameOverSound
public bool playedGameOverSound
Field Value
- bool
rainWorld
public RainWorld rainWorld
Field Value
- RainWorld
rivuletEpilogueRainPause
public bool rivuletEpilogueRainPause
Field Value
- bool
roomRealizer
public RoomRealizer roomRealizer
Field Value
- RoomRealizer
sawAGhost
public GhostWorldPresence.GhostID sawAGhost
Field Value
- GhostWorldPresence.GhostID
session
public GameSession session
Field Value
- GameSession
showAImap
Field Value
- bool
startingRoom
public string startingRoom
Field Value
- string
timeInRegionThisCycle
public int timeInRegionThisCycle
Field Value
- int
timeSinceScavsSentToPlayer
public int timeSinceScavsSentToPlayer
Field Value
- int
timeWithoutCorpse
public int timeWithoutCorpse
Field Value
- int
updateAbstractRoom
public int updateAbstractRoom
Field Value
- int
updateShortCut
public int updateShortCut
Field Value
- int
wasAnArtificerDream
public bool wasAnArtificerDream
Field Value
- bool
Properties
AlivePlayers
public List<AbstractCreature> AlivePlayers { get; }
Property Value
- List<AbstractCreature>
AllPlayersRealized
public bool AllPlayersRealized { get; }
Property Value
- bool
AllowDialogs
public override bool AllowDialogs { get; }
Property Value
- bool
BlizzardMaxColdness
public static float BlizzardMaxColdness { get; }
Property Value
- float
DefaultHeatSourceWarmth
public static float DefaultHeatSourceWarmth { get; }
Property Value
- float
FadeInTime
public override float FadeInTime { get; }
Property Value
- float
FirstAlivePlayer
public AbstractCreature FirstAlivePlayer { get; }
Property Value
- AbstractCreature
FirstAnyPlayer
public AbstractCreature FirstAnyPlayer { get; }
Property Value
- AbstractCreature
FirstRealizedPlayer
public Player FirstRealizedPlayer { get; }
Property Value
- Player
GameOverModeActive
public bool GameOverModeActive { get; }
Property Value
- bool
GamePaused
public bool GamePaused { get; }
Property Value
- bool
GetArenaGameSession
public ArenaGameSession GetArenaGameSession { get; }
Property Value
- ArenaGameSession
GetStorySession
public StoryGameSession GetStorySession { get; }
Property Value
- StoryGameSession
InitialBlackSeconds
public override float InitialBlackSeconds { get; }
Property Value
- float
IsArenaSession
public bool IsArenaSession { get; }
Property Value
- bool
IsStorySession
public bool IsStorySession { get; }
Property Value
- bool
NonPermaDeadPlayers
public List<AbstractCreature> NonPermaDeadPlayers { get; }
Property Value
- List<AbstractCreature>
Players
public List<AbstractCreature> Players { get; }
Property Value
- List<AbstractCreature>
PlayersToProgressOrWin
public List<AbstractCreature> PlayersToProgressOrWin { get; }
Property Value
- List<AbstractCreature>
RealizedPlayerFollowedByCamera
public Player RealizedPlayerFollowedByCamera { get; }
Property Value
- Player
StoryCharacter
public SlugcatStats.Name StoryCharacter { get; }
Property Value
- SlugcatStats.Name
StoryPlayerCount
public int StoryPlayerCount { get; }
Property Value
- int
TimeSpeedFac
public override float TimeSpeedFac { get; }
Property Value
- float
cameras
public RoomCamera[] cameras { get; set; }
Property Value
- RoomCamera[]
setupValues
public RainWorldGame.SetupValues setupValues { get; }
Property Value
- RainWorldGame.SetupValues
shortcuts
public ShortcutHandler shortcuts { get; set; }
Property Value
- ShortcutHandler
soundLoader
public SoundLoader soundLoader { get; }
Property Value
- SoundLoader
world
public World world { get; }
Property Value
- World
Methods
AllowRainCounterToTick()
public bool AllowRainCounterToTick()
Returns
- bool
ArtificerDreamEnd()
public void ArtificerDreamEnd()
BeatGameMode(RainWorldGame, bool)
public static void BeatGameMode(RainWorldGame game, bool standardVoidSea)
Parameters
game RainWorldGame
standardVoidSea bool
BlizzardHardEndTimer(bool)
public static int BlizzardHardEndTimer(bool storyMode)
Parameters
storyMode bool
Returns
- int
CommunicateWithUpcomingProcess(MainLoopProcess)
public override void CommunicateWithUpcomingProcess(MainLoopProcess nextProcess)
Parameters
nextProcess MainLoopProcess
ContinuePaused()
public void ContinuePaused()
CustomEndGameSaveAndRestart(bool)
public void CustomEndGameSaveAndRestart(bool addFiveCycles)
Parameters
addFiveCycles bool
ExitGame(bool, bool)
public void ExitGame(bool asDeath, bool asQuit)
Parameters
asDeath bool
asQuit bool
ExitToVoidSeaSlideShow()
public void ExitToVoidSeaSlideShow()
ForceSaveNewDenLocation(RainWorldGame, string, bool)
public static void ForceSaveNewDenLocation(RainWorldGame game, string roomName, bool saveWorldStates)
Parameters
game RainWorldGame
roomName string
saveWorldStates bool
GameOver(Grasp)
public void GameOver(Creature.Grasp dependentOnGrasp)
Parameters
dependentOnGrasp Creature.Grasp
GetNewID()
public EntityID GetNewID()
Returns
- EntityID
GetNewID(int)
public EntityID GetNewID(int spawner)
Parameters
spawner int
Returns
- EntityID
GhostShutDown(GhostID)
public void GhostShutDown(GhostWorldPresence.GhostID ghostID)
Parameters
ghostID GhostWorldPresence.GhostID
GoToDeathScreen()
public void GoToDeathScreen()
GoToRedsGameOver()
public void GoToRedsGameOver()
GoToStarveScreen()
public void GoToStarveScreen()
GrafUpdate(float)
public override void GrafUpdate(float timeStacker)
Parameters
timeStacker float
InActiveGate()
public bool InActiveGate()
Returns
- bool
InClosingShelter()
public bool InClosingShelter()
Returns
- bool
IsMoonActive()
public bool IsMoonActive()
Returns
- bool
IsMoonHeartActive()
public bool IsMoonHeartActive()
Returns
- bool
JollyGameOverEvaluator(Grasp)
public bool JollyGameOverEvaluator(Creature.Grasp dependentOnGrasp)
Parameters
dependentOnGrasp Creature.Grasp
Returns
- bool
JollySpawnPlayers(WorldCoordinate)
public void JollySpawnPlayers(WorldCoordinate location)
Parameters
location WorldCoordinate
MoonHasRobe()
public bool MoonHasRobe()
Returns
- bool
RawUpdate(float)
public override void RawUpdate(float dt)
Parameters
dt float
RestartGame()
public void RestartGame()
SeededRandom(int)
public float SeededRandom(int seed)
Parameters
seed int
Returns
- float
SeededRandomRange(int, int, int)
public int SeededRandomRange(int seed, int min, int exclMax)
Parameters
seed int
min int
exclMax int
Returns
- int
SendScavsToPlayer()
public void SendScavsToPlayer()
public void ShowPauseMenu()
ShutDownProcess()
public override void ShutDownProcess()
SpawnPlayers(bool, bool, bool, bool, WorldCoordinate)
public AbstractCreature SpawnPlayers(bool player1, bool player2, bool player3, bool player4, WorldCoordinate location)
Parameters
player1 bool
player2 bool
player3 bool
player4 bool
location WorldCoordinate
Returns
- AbstractCreature
SpawnPlayers(int, WorldCoordinate)
public AbstractCreature SpawnPlayers(int count, WorldCoordinate location)
Parameters
count int
location WorldCoordinate
Returns
- AbstractCreature
Update()
public override void Update()
Win(bool)
public void Win(bool malnourished)
Parameters
malnourished bool