gpg::QuestManager::QuestUIResponse

#include <quest_manager.h>

Data and UIStatus for the ShowAllUI and ShowUI operations.

Summary

If IsSuccess(status) returns true, Valid() returns true for exactly one of accepted_quest or milestone_to_claim. Otherwise, it does not return true for either of them. If accepted_quest is valid, the user just accepted this quest. If milestone_to_claim is valid, the user chose to claim this milestone. You, the developer, then need to claim this by calling ClaimMilestone.

Public attributes

accepted_quest
The accepted_quest for this response.
milestone_to_claim
The milestone_to_claim for this response.
status
The UIStatus of the operation that generated this QuestUIResponse.

Public attributes

accepted_quest

Quest gpg::QuestManager::QuestUIResponse::accepted_quest

The accepted_quest for this response.

Valid() only returns true for the quest if the user accepted this quest from the UI.

milestone_to_claim

QuestMilestone gpg::QuestManager::QuestUIResponse::milestone_to_claim

The milestone_to_claim for this response.

Valid() only returns true for the milestone if the user chose to claim this milestone from the UI. You are required to call ClaimMilestone for this milestone.

status

UIStatus gpg::QuestManager::QuestUIResponse::status

The UIStatus of the operation that generated this QuestUIResponse.

傳送您對下列選項的寶貴意見...

這個網頁
Play Games Services for C++
Play Games Services for C++