1.7 KiB
1.7 KiB
Settings Scene
Status
Active draft.
UI Blocks
- Support panel:
Contact Supportaction
- Audio panel:
- master volume
- background music volume
- sound effects volume
- mute toggles (optional)
- Display panel:
- brightness control
- Additional settings panel (extensible):
- placeholder for future options (controls, accessibility, language, notifications, etc.)
Client Interactions
- Load current user settings on scene open.
- Apply slider/toggle changes immediately in preview when safe.
- Persist confirmed changes to server.
- Offer reset-to-default for configurable categories.
- Open support flow when
Contact Supportis selected.
Server Contract (Draft)
Client -> Server (SettingsGetRequest)
requestIdaccountId
Server -> Client (SettingsGetResponse)
requestIdaudio:masterVolumemusicVolumesfxVolumemasterMute(optional)musicMute(optional)sfxMute(optional)
display:brightness
support:contactMethodshelpUrl(optional)
otherSettings(extensible object)
Client -> Server (SettingsUpdateRequest)
requestIdaudio(optional)display(optional)otherSettings(optional)
Server -> Client (SettingsUpdateResponse)
requestIdsuccesseffectiveSettingserrorCode(if failed)
Client -> Server (SupportContactRequest)
requestIdcategory(optional)message(optional)
Server -> Client (SupportContactResponse)
requestIdsuccessticketId(optional)redirectUrl(optional)errorCode(if failed)
Notes
- Keep Settings and Report Bug entry points globally available in all scenes.
- Keep this scene modular so additional settings can be added without redesign.