Skip to content

@modoki/engine / index / PlayerPrefsInitOptions

Interface: PlayerPrefsInitOptions

Storage

backend?

optional backend?: PrefsBackend

Explicit persistence adapter. Defaults to the current backend (in-memory).


namespace?

optional namespace?: string

Per-game key namespace (typically the game's appId) so games can't collide.

Built with Modoki.