Module: util/save

Functions

getUniqueID

getUniqueID(): string

Returns

string

Defined in

profectus/src/util/save.ts:81


hardReset

hardReset(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:139


load

load(): Promise<void>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:36


loadSave

loadSave(playerObj): Promise<void>

Parameters

NameType
playerObjPartial<PlayerData>

Returns

Promise<void>

Defined in

profectus/src/util/save.ts:90


newSave

newSave(): PlayerData

Returns

PlayerData

Defined in

profectus/src/util/save.ts:71


save

save(playerData?): string

Parameters

NameType
playerData?PlayerData

Returns

string

Defined in

profectus/src/util/save.ts:28


setupInitialStore

setupInitialStore(player?): Player

Parameters

NameType
playerPartial<PlayerData>

Returns

Player

Defined in

profectus/src/util/save.ts:8