google_api_games v0.6.0 GoogleApi.Games.V1.Model.QuestCriterion View Source
This is a JSON template for a Quest Criterion resource.
Attributes
completionContribution
(type:GoogleApi.Games.V1.Model.QuestContribution.t
, default:nil
) - The total number of times the associated event must be incremented for the player to complete this quest.currentContribution
(type:GoogleApi.Games.V1.Model.QuestContribution.t
, default:nil
) - The number of increments the player has made toward the completion count event increments required to complete the quest. This value will not exceed the completion contribution. There will be no currentContribution until the player has accepted the quest.eventId
(type:String.t
, default:nil
) - The ID of the event the criterion corresponds to.initialPlayerProgress
(type:GoogleApi.Games.V1.Model.QuestContribution.t
, default:nil
) - The value of the event associated with this quest at the time that the quest was accepted. This value may change if event increments that took place before the start of quest are uploaded after the quest starts. There will be no initialPlayerProgress until the player has accepted the quest.kind
(type:String.t
, default:games#questCriterion
) - Uniquely identifies the type of this resource. Value is always the fixed string games#questCriterion.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Sourcet() :: %GoogleApi.Games.V1.Model.QuestCriterion{ completionContribution: GoogleApi.Games.V1.Model.QuestContribution.t(), currentContribution: GoogleApi.Games.V1.Model.QuestContribution.t(), eventId: String.t(), initialPlayerProgress: GoogleApi.Games.V1.Model.QuestContribution.t(), kind: String.t() }
Link to this section Functions
Unwrap a decoded JSON object into its complex fields.