透過集合功能整理內容
你可以依據偏好儲存及分類內容。
gpg::EventManager::FetchAllResponse
#include <event_manager.h>
所有事件的Data
和ResponseStatus
。
摘要
公開屬性
資料
std::map< std::string, Event > gpg::EventManager::FetchAllResponse::data
包含應用程式所有相關事件資料的地圖。
這些鍵為事件 ID。
這個頁面中的內容和程式碼範例均受《內容授權》中的授權所規範。Java 與 OpenJDK 是 Oracle 和/或其關係企業的商標或註冊商標。
上次更新時間:2025-07-27 (世界標準時間)。
[null,null,["上次更新時間:2025-07-27 (世界標準時間)。"],[],[],null,["# gpg::EventManager::FetchAllResponse Struct Reference\n\ngpg::EventManager::FetchAllResponse\n===================================\n\n`#include \u003cevent_manager.h\u003e`\n\n`Data` and `ResponseStatus` for all events.\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [data](#structgpg_1_1_event_manager_1_1_fetch_all_response_1ae2dc2ddb8207f4378809e7fc2a7fb468) | `std::map\u003c std::string, `[Event](/games/services/cpp/api/class/gpg/event#classgpg_1_1_event)` \u003e` A map containing data for all events associated with the application. |\n| [status](#structgpg_1_1_event_manager_1_1_fetch_all_response_1ad4f60b5699e7e43daf4d4a791ad54c72) | [ResponseStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a6b34581275d3fd0edee8e4321eec1d5d) Can be one of the values enumerated in [ResponseStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a6b34581275d3fd0edee8e4321eec1d5d). |\n\nPublic attributes\n-----------------\n\n### data\n\n```c++\nstd::map\u003c std::string, Event \u003e gpg::EventManager::FetchAllResponse::data\n``` \nA map containing data for all events associated with the application.\n\nThe keys are event ids. \n\n### status\n\n```c++\nResponseStatus gpg::EventManager::FetchAllResponse::status\n``` \nCan be one of the values enumerated in [ResponseStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a6b34581275d3fd0edee8e4321eec1d5d).\n\nIf the response is unsuccessful, [FetchAllResponse](/games/services/cpp/api/struct/gpg/event-manager/fetch-all-response#structgpg_1_1_event_manager_1_1_fetch_all_response) returns an empty data map."]]