logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class RequestSaveGameSignal

    Signal dispatched to save the currently active slot.

    Inheritance
    object
    RequestSaveGameSignal
    Namespace: Serenity.GameSave.Application.Events
    Assembly: Serenity.GameSave.Application.dll
    Syntax
    public class RequestSaveGameSignal : 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

    RequestSaveGameSignal()

    Creates a new RequestSaveGameSignal without a service reference.

    Declaration
    public RequestSaveGameSignal()

    RequestSaveGameSignal(string, IGameSaveService)

    Creates a new RequestSaveGameSignal.

    Declaration
    public RequestSaveGameSignal(string label, IGameSaveService gameSaveService = null)
    Parameters
    Type Name Description
    string label

    The label to save the active slot under.

    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.

    Label

    Declaration
    public readonly string Label
    Field Value
    Type Description
    string

    The label to save the active slot under.

    In this article
    © 2026 Serenity. All Rights Reserved