logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class StartGameSignal

    Signal dispatched to start the game.

    Inheritance
    object
    StartGameSignal
    Namespace: Serenity.GameMode.Application.Events
    Assembly: Serenity.GameMode.Application.dll
    Syntax
    public class StartGameSignal : EventDispatcherSignal
    Remarks

    Optionally carries a reference to the IGameModeService for direct access. If not provided, the action will attempt to locate the service via the ServiceLocator.

    Constructors

    StartGameSignal()

    Creates a new StartGameSignal without a service reference.

    Declaration
    public StartGameSignal()

    StartGameSignal(IGameModeService)

    Creates a new StartGameSignal with a service reference.

    Declaration
    public StartGameSignal(IGameModeService gameModeService)
    Parameters
    Type Name Description
    IGameModeService gameModeService

    The game mode service to use.

    Fields

    GameModeService

    Optional direct reference to the game mode service.

    Declaration
    public readonly IGameModeService GameModeService
    Field Value
    Type Description
    IGameModeService
    In this article
    © 2026 Serenity. All Rights Reserved