Skip to main content

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​

PropertyTypeDescription
IsSuccessboolTrue when the call worked.
ErrorCodestringA stable error code such as projectv.gameplay.completion_frozen, for logs and checks; empty on success.
SafeMessagestringA short description of the failure, safe to log or show; empty on success.
RewardsIReadOnlyList<ProjectVGameplayRewardView>The rewards the server granted for the finished run; show only these. Empty for other calls and failures.
MailedRewardsIReadOnlyList<ProjectVGameplayRewardView>The part of Rewards sent to the mailbox because it did not fit the inventory.
StarsProjectVGameplayStarResultView?The stars of a won run; null for failures, losses, give-ups and missions without stars.