Class AchievementScreenshotCapturedSignal
Broadcast once the screenshot taken for an unlock has been stored and attached to its unlock record. Always arrives after AchievementUnlockedSignal, because the unlock never waits on the capture.
Namespace: Serenity.Achievements.Application.Events
Assembly: Serenity.Achievements.Application.dll
Syntax
public class AchievementScreenshotCapturedSignal : EventDispatcherSignal
Constructors
AchievementScreenshotCapturedSignal()
Initializes a new instance of the AchievementScreenshotCapturedSignal class.
Declaration
public AchievementScreenshotCapturedSignal()
AchievementScreenshotCapturedSignal(AchievementId, string)
Initializes a new instance of the AchievementScreenshotCapturedSignal class.
Declaration
public AchievementScreenshotCapturedSignal(AchievementId achievement, string screenshotKey)
Parameters
| Type | Name | Description |
|---|---|---|
| AchievementId | achievement | The achievement the screenshot belongs to. |
| string | screenshotKey | The key the stored screenshot can be read back by. |
Fields
Achievement
Declaration
public readonly AchievementId Achievement
Field Value
| Type | Description |
|---|---|
| AchievementId | The achievement the screenshot belongs to. |
ScreenshotKey
Declaration
public readonly string ScreenshotKey
Field Value
| Type | Description |
|---|---|
| string | The key the stored screenshot can be read back by. |
Methods
ToString()
Returns a string representation of the event.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |