Class ExtraUnlockedSignal
Broadcast whenever UnlockExtra(string) unlocks a NEW extra (never for an already-unlocked one).
Namespace: Serenity.GameProgress.Application.Events
Assembly: Serenity.GameProgress.Application.dll
Syntax
public class ExtraUnlockedSignal : EventDispatcherSignal
Constructors
ExtraUnlockedSignal()
Initializes a new instance of the ExtraUnlockedSignal class.
Declaration
public ExtraUnlockedSignal()
ExtraUnlockedSignal(string)
Initializes a new instance of the ExtraUnlockedSignal class.
Declaration
public ExtraUnlockedSignal(string extraId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | extraId | The identifier of the extra that was unlocked. |
Fields
ExtraId
Declaration
public readonly string ExtraId
Field Value
| Type | Description |
|---|---|
| string | The identifier of the extra that was unlocked. |
Methods
ToString()
Returns a string representation of the event.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |