YamlPlayerSettingsStorage

Handles YAML serialization for player settings.

Constructors

Link copied to clipboard
constructor(store: FileStore, logger: Logger)

Functions

Link copied to clipboard

Loads player settings from the YAML file. If the file doesn't exist or cannot be parsed, returns empty settings.

Link copied to clipboard

Queues a debounced asynchronous save.

Link copied to clipboard

Saves player settings to the YAML file synchronously. This should only be called from async context or during shutdown.