Module: util/save

Functions

getUniqueID

getUniqueID(): string

Returns

string

Defined in

profectus/src/util/save.ts:80


hardReset

hardReset(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:127


load

load(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:35


loadSave

loadSave(playerObj): Promise<void>

Parameters

NameType
playerObjPartial<PlayerData>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:89


newSave

newSave(): PlayerData

Returns

PlayerData

Defined in

profectus/src/util/save.ts:70


save

save(playerData?): string

Parameters

NameType
playerData?PlayerData

Returns

string

Defined in

profectus/src/util/save.ts:27


setupInitialStore

setupInitialStore(player?): Player

Parameters

NameType
playerPartial<PlayerData>

Returns

Player

Defined in

profectus/src/util/save.ts:7