ProfileStore beta
Interface of @v12-engine/client
ts
export interface ProfileStoreWhere a player's profiles are kept, a game each
Members
load
ts
load(game: string): PlayerProfile;Returns the stored profile of a game, an empty one where none is kept
save
ts
save(profile: PlayerProfile): void;Stores a profile, replacing the one kept for its game