logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RequestLoadGameSignal

    Signal dispatched to load a specific save slot.

    Inheritance
    object
    RequestLoadGameSignal
    Namespace: Serenity.GameSave.Application.Events
    Assembly: Serenity.GameSave.Application.dll
    Syntax
    public class RequestLoadGameSignal : EventDispatcherSignal
    Remarks

    Optionally carries a reference to the IGameSaveService. If not provided, the reacting action will attempt to locate the service via the ServiceLocator.

    Constructors

    RequestLoadGameSignal()

    Creates a new RequestLoadGameSignal without a service reference.

    Declaration
    public RequestLoadGameSignal()

    RequestLoadGameSignal(int, IGameSaveService)

    Creates a new RequestLoadGameSignal.

    Declaration
    public RequestLoadGameSignal(int slotIndex, IGameSaveService gameSaveService = null)
    Parameters
    Type Name Description
    int slotIndex

    The zero-based index of the slot to load.

    IGameSaveService gameSaveService

    Optional direct reference to the game-save service.

    Fields

    GameSaveService

    Declaration
    public readonly IGameSaveService GameSaveService
    Field Value
    Type Description
    IGameSaveService

    Optional direct reference to the game-save service.

    SlotIndex

    Declaration
    public readonly int SlotIndex
    Field Value
    Type Description
    int

    The zero-based index of the slot to load.

    In this article
    © 2026 Serenity. All Rights Reserved