使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
gpg::EventManager::FetchAllResponse
#include <event_manager.h>
所有事件的 Data
和 ResponseStatus
。
摘要
公共属性
数据
std::map< std::string, Event > gpg::EventManager::FetchAllResponse::data
一个映射,其中包含与应用相关联的所有事件的数据。
键是事件 ID。
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):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."]]