Skip to content

Profectus / game/player / stringifySave

Function: stringifySave() ​

stringifySave(player): string

Convert a player save data object into a JSON string. Unwraps refs.

Parameters ​

player ​

Player

Returns ​

string

Defined in ​

profectus/src/game/player.ts:66