Module: util/save

Functions

getUniqueID

getUniqueID(): string

Returns

string

Defined in

profectus/src/util/save.ts:66


hardReset

hardReset(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:114


load

load(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:33


loadSave

loadSave(playerObj): Promise<void>

Parameters

NameType
playerObjPartial<PlayerData>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:75


newSave

newSave(): PlayerData

Returns

PlayerData

Defined in

profectus/src/util/save.ts:56


save

save(): string

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