Class ArenaGameSession
- Namespace
- Global
- Assembly
- Assembly-CSharp.dll
public abstract class ArenaGameSession : GameSession, IOwnAHUD
- Inheritance
-
ArenaGameSession
- Implements
-
- Derived
-
- Inherited Members
-
Constructors
ArenaGameSession(RainWorldGame)
public ArenaGameSession(RainWorldGame game)
Parameters
game RainWorldGame
Fields
arenaSitting
public ArenaSitting arenaSitting
Field Value
- ArenaSitting
behaviors
public List<ArenaGameBehavior> behaviors
Field Value
- List<ArenaGameBehavior>
public ChallengeInformation.ChallengeMeta chMeta
Field Value
- ChallengeInformation.ChallengeMeta
challengeCompleted
public bool challengeCompleted
Field Value
- bool
characterStats_Mplayer
public SlugcatStats[] characterStats_Mplayer
Field Value
- SlugcatStats[]
counter
Field Value
- int
earlyRain
public EarlyRain earlyRain
Field Value
- EarlyRain
endSessionCounter
public int endSessionCounter
Field Value
- int
exitManager
public ExitManager exitManager
Field Value
- ExitManager
initiated
Field Value
- bool
noRain
Field Value
- NoRain
outsidePlayersCountAsDead
public bool outsidePlayersCountAsDead
Field Value
- bool
playersGlowing
public bool playersGlowing
Field Value
- bool
public bool playersSpawned
Field Value
- bool
rainCycleTimeInMinutes
public float rainCycleTimeInMinutes
Field Value
- float
respawnFlies
public RespawnFlies respawnFlies
Field Value
- RespawnFlies
sessionEnded
Field Value
- bool
thisFrameActivePlayers
public int thisFrameActivePlayers
Field Value
- int
Properties
CurrentFood
public int CurrentFood { get; }
Property Value
- int
GameTypeSetup
public ArenaSetup.GameTypeSetup GameTypeSetup { get; }
Property Value
- ArenaSetup.GameTypeSetup
MapDiscoveryActive
public bool MapDiscoveryActive { get; }
Property Value
- bool
public Player.InputPackage MapInput { get; }
Property Value
- Player.InputPackage
MapOwnerInRoomPosition
public Vector2 MapOwnerInRoomPosition { get; }
Property Value
- Vector2
MapOwnerRoom
public int MapOwnerRoom { get; }
Property Value
- int
RevealMap
public bool RevealMap { get; }
Property Value
- bool
SessionStillGoing
public bool SessionStillGoing { get; }
Property Value
- bool
SpawnDefaultRoomItems
public virtual bool SpawnDefaultRoomItems { get; }
Property Value
- bool
room
public Room room { get; }
Property Value
- Room
Methods
AddBehavior(ArenaGameBehavior)
public void AddBehavior(ArenaGameBehavior behav)
Parameters
behav ArenaGameBehavior
AddHUD()
DarkenExitSymbol(int)
public float DarkenExitSymbol(int exit)
Parameters
exit int
Returns
- float
EndOfSessionLogPlayerAsAlive(int)
public bool EndOfSessionLogPlayerAsAlive(int playerNumber)
Parameters
playerNumber int
Returns
- bool
EndSession()
FoodCountDownDone()
public void FoodCountDownDone()
GetOwnerType()
public HUD.OwnerType GetOwnerType()
Returns
- HUD.OwnerType
Initiate()
public virtual void Initiate()
IsCreatureAllowedToEmergeFromDen(AbstractCreature)
public bool IsCreatureAllowedToEmergeFromDen(AbstractCreature crit)
Parameters
crit AbstractCreature
Returns
- bool
Killing(Player, Creature)
public void Killing(Player player, Creature killedCrit)
Parameters
player Player
killedCrit Creature
PlayHUDSound(SoundID)
public void PlayHUDSound(SoundID soundID)
Parameters
soundID SoundID
PlayerLandSpear(Player, Creature)
public void PlayerLandSpear(Player player, Creature target)
Parameters
player Player
target Creature
PlayerSpitOutOfShortCut(AbstractCreature)
public void PlayerSpitOutOfShortCut(AbstractCreature player)
Parameters
player AbstractCreature
PlayerTryingToEnterDen(ShortCutVessel)
public bool PlayerTryingToEnterDen(ShortcutHandler.ShortCutVessel shortcutVessel)
Parameters
shortcutVessel ShortcutHandler.ShortCutVessel
Returns
- bool
public int PlayersStillActive(bool addToAliveTime, bool dontCountSandboxLosers)
Parameters
addToAliveTime bool
dontCountSandboxLosers bool
Returns
- int
ProcessShutDown()
public virtual void ProcessShutDown()
RemoveBehavior(ArenaGameBehavior)
public void RemoveBehavior(ArenaGameBehavior behav)
Parameters
behav ArenaGameBehavior
RemoveBehavior(int)
public void RemoveBehavior(int i)
Parameters
i int
ScoreOfPlayer(Player, bool)
public int ScoreOfPlayer(Player player, bool inHands)
Parameters
player Player
inHands bool
Returns
- int
ShouldSessionEnd()
public virtual bool ShouldSessionEnd()
Returns
- bool
SpawnCreatures()
public virtual void SpawnCreatures()
SpawnItem(Room, PlacedObject)
public void SpawnItem(Room room, PlacedObject placedObj)
Parameters
room Room
placedObj PlacedObject
SpawnPlayers(Room, List<int>)
public void SpawnPlayers(Room room, List<int> suggestedDens)
Parameters
room Room
suggestedDens List<int>
Update()
public virtual void Update()