Package-level declarations

Overview

Storage-related types and contracts used by the core module to define how games are persisted.

Key Components

  • GameStorageType — Enum defining storage backends (FILE, MONGODB)

  • StorageParams — Parameters for storage configuration

  • Serializer implementations — Convert domain objects to/from storage format

Responsibilities

  • Defining storage types and configurations

  • Providing serialization contracts

  • Bridging between core domain and storage implementations

Types

Link copied to clipboard

Enumeration of available storage types for game state persistence. Each type provides a factory function to create the appropriate storage instance.

Link copied to clipboard
sealed class StorageParams

Sealed class representing different storage backend configurations. Different storage implementations can be selected by creating appropriate subclass instances.