ProjectVGameplayDataResult class
The outcome of a gameplay data call. Failures are returned here, not thrown.
Namespace: SilverTiger.ProjectV.Unity.Presentation.Gameplay
public sealed class ProjectVGameplayDataResult
Properties​
| Property | Type | Description |
|---|---|---|
IsSuccess | bool | True when the call worked. |
ErrorCode | string | A stable error code such as projectv.gameplay.completion_frozen, for logs and checks; empty on success. |
SafeMessage | string | A short description of the failure, safe to log or show; empty on success. |
Rewards | IReadOnlyList<ProjectVGameplayRewardView> | The rewards the server granted for the finished run; show only these. Empty for other calls and failures. |
MailedRewards | IReadOnlyList<ProjectVGameplayRewardView> | The part of Rewards sent to the mailbox because it did not fit the inventory. |
Stars | ProjectVGameplayStarResultView? | The stars of a won run; null for failures, losses, give-ups and missions without stars. |