Class StartGameSignal
Signal dispatched to start the game.
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 |