Module: game/player
Interfaces
Type aliases
Player
Ƭ Player: ProxiedWithState
<PlayerData
>
Defined in
profectus/src/game/player.ts:23
Properties
default
• default: { autosave
: boolean
; devSpeed
: null
| DecimalSource
; id
: string
; keepGoing
: boolean
; layers
: { [x: string]: { [x: string]: unknown; } & { [ProxyState]: Record<string, unknown>; [ProxyPath]: string[]; }; } & { [ProxyPath]
: string
[] ; [ProxyState]
: Record
<string
, Record
<string
, unknown
>> } ; modID
: string
; modVersion
: string
; name
: string
; offlineProd
: boolean
; offlineTime
: null
| DecimalSource
; tabs
: string
[] & { [ProxyPath]
: string
[] ; [ProxyState]
: string
[] } ; time
: number
; timePlayed
: DecimalSource
} & { [ProxyPath]
: string
[] ; [ProxyState]
: PlayerData
}
Functions
stringifySave
▸ stringifySave(player
): string
Parameters
Name | Type |
---|---|
player | PlayerData |
Returns
string