ProfileSceneOptions beta
Interface of @v12-engine/client/app
ts
export interface ProfileSceneOptionsWhat a scene of a player's profile is made with (profileScene)
Members
back
ts
back?: {
label?: string;
scene?: SceneRef;
};The way back out: what it says (Back), and the scene it goes to (the list of scenes when left out)
game
ts
game: Pick<LoadedGame, 'id'> & {
view: {
achievements?: readonly AchievementDef[];
};
rules?: {
name?: string;
};
};The game whose profile it is: its id, and what can be earned in it (GameView.achievements)
id
ts
id?: string;The scene's id: profile when left out
name
ts
name?: string;What the scene is called in the list of scenes
store
ts
store?: ProfileStore;Where the profile is kept: this browser's when left out (browserProfile)