📄️ FirebaseProviders
This document outlines the three primary Firebase-backed orchestrator services implemented in the m00m system: authentication, user profile handling, and game data operations. Each service adheres to the IOrchestratorService interface and provides specific functionality within a Firebase-backed Unity game environment.
📄️ GameOrchestrator
The centralized coordinator for all gameplay service providers in the m00m architecture. It handles initialization, environment configuration, and lifecycle management for authentication, user data, and game data services.
📄️ GameServiceFactory
Central utility for constructing and caching core gameplay services. Designed to encapsulate common service initialization logic and ensure singleton-style access across systems that require UI, audio, resource, or orchestration components.
📄️ IAuthenticationProvider
Defines a contract for authentication-related services in the m00m ecosystem. Handles user sign-in, sign-out, and account management flows.
📄️ IGameDataProvider
Interface for managing in-game interior items, user-owned content, and item placement in m00m's interior systems.
📄️ IOrchestratorService
Base interface for orchestrator-bound systems that need to synchronize with the global GameOrchestrator.
📄️ IUserDetailProvider
Provides user-specific data and operations within the game environment. This interface inherits from IOrchestratorService and acts as a bridge between the orchestrator and user profile management.
📄️ Injector
A lightweight runtime dependency injection (DI) system tailored for Unity, supporting [Inject] and [Provide] attributes. The Injector finds and resolves dependencies via reflection at runtime startup, simplifying cross-component references and modular game architecture.
📄️ MultiplayerService
The MultiplayerService class provides the central runtime logic for managing multiplayer game sessions using Photon Fusion in Unity. It handles player connections, scene loading, control scheme integration, and reward or item transactions through Firebase-backed orchestrators.