Profectus / game/state / Transient
Interface: Transient ​
An object of global data that is not persistent.
Properties ​
errors ​
errors:
Error
[]
List of errors that have occurred, to show the user.
Defined in ​
profectus/src/game/state.ts:18
hasNaN ​
hasNaN:
boolean
Whether or not a NaN value has been detected and undealt with.
Defined in ​
profectus/src/game/state.ts:12
lastTenTicks ​
lastTenTicks:
number
[]
A list of the duration, in ms, of the last 10 game ticks. Used for calculating TPS.
Defined in ​
mouseActivity ​
mouseActivity:
boolean
[]
A list of bools represnting which of the last few hours had mouse activity.
Defined in ​
profectus/src/game/state.ts:10
NaNPath? ​
optional
NaNPath:string
[]
The location within the player save data object of the NaN value.
Defined in ​
profectus/src/game/state.ts:14
NaNPersistent? ​
optional
NaNPersistent:Persistent
<DecimalSource
>
The ref that was being set to NaN.