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 | 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 }

Functions

stringifySave

stringifySave(player): string

Parameters

NameType
playerPlayerData

Returns

string

Defined in

profectus/src/game/player.ts:41