Class GameLoadedSignal
Broadcast whenever TryLoadAsync(SaveSlotId, CancellationToken) successfully loads a slot.
Namespace: Serenity.GameSave.Application.Events
Assembly: Serenity.GameSave.Application.dll
Syntax
public class GameLoadedSignal : EventDispatcherSignal
Constructors
GameLoadedSignal()
Initializes a new instance of the GameLoadedSignal class.
Declaration
public GameLoadedSignal()
GameLoadedSignal(int)
Initializes a new instance of the GameLoadedSignal class.
Declaration
public GameLoadedSignal(int slotIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| int | slotIndex | The zero-based index of the slot that was loaded. |
Fields
SlotIndex
Declaration
public readonly int SlotIndex
Field Value
| Type | Description |
|---|---|
| int | The zero-based index of the slot that was loaded. |
Methods
ToString()
Returns a string representation of the event.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |