Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
gpg::EventManager::FetchResponse
#include <event_manager.h>
Contiene i dati e lo stato della risposta per un singolo evento.
Riepilogo
Attributi pubblici
|
data
|
Tutti i dati relativi a un evento specifico.
|
status
|
|
Attributi pubblici
dati
Event gpg::EventManager::FetchResponse::data
Tutti i dati relativi a un evento specifico.
stato
ResponseStatus gpg::EventManager::FetchResponse::status
Può essere uno dei valori enumerati in ResponseStatus.
Se la risposta non è VALID
o VALID_BUT_STALE
, FetchResponse
restituisce una mappa di dati vuota.
I campioni di contenuti e codice in questa pagina sono soggetti alle licenze descritte nella Licenza per i contenuti. Java e OpenJDK sono marchi o marchi registrati di Oracle e/o delle sue società consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# gpg::EventManager::FetchResponse Struct Reference\n\ngpg::EventManager::FetchResponse\n================================\n\n`#include \u003cevent_manager.h\u003e`\n\nContains data and response status for a single event.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [data](#structgpg_1_1_event_manager_1_1_fetch_response_1a5f7cf2b7f014345b1c3f219155795797) | [Event](/games/services/cpp/api/class/gpg/event#classgpg_1_1_event) All data for a specific event. |\n| [status](#structgpg_1_1_event_manager_1_1_fetch_response_1a9ddecc1a010197fd90bf3db1f36648e3) | [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++\nEvent gpg::EventManager::FetchResponse::data\n``` \nAll data for a specific event. \n\n### status\n\n```c++\nResponseStatus gpg::EventManager::FetchResponse::status\n``` \nCan be one of the values enumerated in [ResponseStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a6b34581275d3fd0edee8e4321eec1d5d).\n\nIf the response is not `VALID` or `VALID_BUT_STALE`, [FetchResponse](/games/services/cpp/api/struct/gpg/event-manager/fetch-response#structgpg_1_1_event_manager_1_1_fetch_response) returns an empty data map."]]