Class GameProgressChangedSignal
Broadcast whenever the in-memory game progress changes, for any reason (completion, unlock, custom payload change, or a fresh load from the store). Consumers that only care "did anything change" can subscribe to this instead of every specific signal.
Namespace: Serenity.GameProgress.Application.Events
Assembly: Serenity.GameProgress.Application.dll
Syntax
public class GameProgressChangedSignal : EventDispatcherSignal
Constructors
GameProgressChangedSignal()
Initializes a new instance of the GameProgressChangedSignal class.
Declaration
public GameProgressChangedSignal()
GameProgressChangedSignal(GameProgressData)
Initializes a new instance of the GameProgressChangedSignal class.
Declaration
public GameProgressChangedSignal(GameProgressData progress)
Parameters
| Type | Name | Description |
|---|---|---|
| GameProgressData | progress | The progress snapshot after the change. |
Fields
Progress
Declaration
public readonly GameProgressData Progress
Field Value
| Type | Description |
|---|---|
| GameProgressData | The progress snapshot after the change. |
Methods
ToString()
Returns a string representation of the event.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |