logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class GameSavedSignal

    Broadcast whenever SaveAsync(SaveSlotId, string, CancellationToken) (directly, via SaveActiveAsync(string, CancellationToken), or via CopyAsync(SaveSlotId, SaveSlotId, CancellationToken)) persists a slot.

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

    Constructors

    GameSavedSignal()

    Initializes a new instance of the GameSavedSignal class.

    Declaration
    public GameSavedSignal()

    GameSavedSignal(int, string)

    Initializes a new instance of the GameSavedSignal class.

    Declaration
    public GameSavedSignal(int slotIndex, string label)
    Parameters
    Type Name Description
    int slotIndex

    The zero-based index of the slot that was saved.

    string label

    The save's display label.

    Fields

    Label

    Declaration
    public readonly string Label
    Field Value
    Type Description
    string

    The save's display label.

    SlotIndex

    Declaration
    public readonly int SlotIndex
    Field Value
    Type Description
    int

    The zero-based index of the slot that was saved.

    Methods

    ToString()

    Returns a string representation of the event.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    In this article
    © 2026 Serenity. All Rights Reserved