import{_ as e,c as a,o as t,a as r}from"./app.e5a3543f.js";const u='{"title":"Module: game/player","description":"","frontmatter":{},"headers":[{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type aliases","slug":"type-aliases"},{"level":3,"title":"Player","slug":"player"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"default","slug":"default"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"stringifySave","slug":"stringifysave"}],"relativePath":"api/modules/game/player.md"}',d={},o=r('
\u01AC Player: ProxiedWithState
<PlayerData
>
profectus/src/game/player.ts:23
\u2022 default: { autosave
: boolean
; devSpeed
: null
| number
; 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
| number
; tabs
: string
[] & { [ProxyPath]
: string
[] ; [ProxyState]
: string
[] } ; time
: number
; timePlayed
: number
} & { [ProxyPath]
: string
[] ; [ProxyState]
: PlayerData
}
\u25B8 stringifySave(player
): string
Name | Type |
---|---|
player | PlayerData |
string