Module: util/save

Functions

getUniqueID

getUniqueID(): string

Returns

string

Defined in

profectus/src/util/save.ts:65


hardReset

hardReset(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:110


load

load(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:32


loadSave

loadSave(playerObj): Promise<void>

Parameters

NameType
playerObjPartial<PlayerData>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:74


newSave

newSave(): PlayerData

Returns

PlayerData

Defined in

profectus/src/util/save.ts:55


save

save(): string

Returns

string

Defined in

profectus/src/util/save.ts:26


setupInitialStore

setupInitialStore(player?): Player

Parameters

NameType
playerPartial<PlayerData>

Returns

Player

Defined in

profectus/src/util/save.ts:6