api/internal/gamification/game_outcome_source library

Classes

ChanceDenied
ChanceExpired
ChanceGranted
ChanceNone
ChancePlayable
ChancePlayed
ChanceRefused
ChanceStateFailed
ChanceStateResult
What the user can do now, from the read-only state call.
GameOutcomeSource
The one seam for the gamification backend calls. Single attempt, never throws. Gameplay itself is a bridge http POST the skin sends, so no play call lives here. Port of Android's GameOutcomeSource.
GetRewardsFailure
GetRewardsOutcome
The getRewards answer: the parsed response, or the failure that produced a game_rewards_failed health event. Never throws.
GetRewardsSuccess
GrantChanceRequest
GrantChanceResult
GrantFailed
HttpGameOutcomeSource

Enums

GameOutcomeFailure
How a gamification backend call failed. Network errors return this, never throw.