Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse
#include <turn_based_multiplayer_manager.h>
Data
y ResponseStatus
para TurnBasedMatches y invitaciones.
Resumen
Si IsSuccess()
no muestra un valor verdadero para ResponseStatus
, empty()
muestra un valor verdadero para un vector de invitaciones.
Atributos públicos
completed_matches
std::vector< TurnBasedMatch > gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::completed_matches
datos
struct gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::@0 gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::data
El campo de datos incluye todas las MultiplayerInvitation y TurnBasedMatch, agrupadas para una visualización conveniente en la IU.
Esta estructura solo contendrá datos válidos si IsSuccess(status)
.
invitaciones
std::vector< MultiplayerInvitation > gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::invitations
Es un vector de todas las MultiplayerInvitation.
Las invitaciones se ordenan por la hora de la última actualización.
my_turn_matches
std::vector< TurnBasedMatch > gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::my_turn_matches
Un vector de TurnBasedMatch con MatchStatusMY_TURN
o PENDING_COMPLETION
.
Las coincidencias se ordenan por la hora de la última actualización.
status
MultiplayerStatus gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::status
El MultiplayerStatus
de la operación que generó este Response
.
their_turn_matches
std::vector< TurnBasedMatch > gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::their_turn_matches
El contenido y las muestras de código que aparecen en esta página están sujetas a las licencias que se describen en la Licencia de Contenido. Java y OpenJDK son marcas registradas de Oracle o sus afiliados.
Última actualización: 2025-07-27 (UTC)
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Falta la información que necesito","missingTheInformationINeed","thumb-down"],["Muy complicado o demasiados pasos","tooComplicatedTooManySteps","thumb-down"],["Desactualizado","outOfDate","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Problema con las muestras o los códigos","samplesCodeIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-07-27 (UTC)"],[],[],null,["# gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse Struct Reference\n\ngpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse\n==========================================================\n\n`#include \u003cturn_based_multiplayer_manager.h\u003e`\n\n`Data` and `ResponseStatus` for [TurnBasedMatches](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match) and [invitations](/games/services/cpp/api/class/gpg/multiplayer-invitation#classgpg_1_1_multiplayer_invitation).\n\nSummary\n-------\n\nIf [IsSuccess()](/games/services/cpp/api/namespace/gpg#namespacegpg_1a61c5fcddb17a1efad15d843513d61d56) does not return true for `ResponseStatus`, then `empty()` returns true for a vector of invitations.\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [completed_matches](#structgpg_1_1_turn_based_multiplayer_manager_1_1_turn_based_matches_response_1aa44d856b73ec5ce53b0207c39111ace0) | `std::vector\u003c `[TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)` \u003e` A vector of [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es with [MatchStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a3f70b0925521329511a6994f44a11cbe)`COMPLETED`. |\n| [data](#structgpg_1_1_turn_based_multiplayer_manager_1_1_turn_based_matches_response_1ae2d249eb203e427dec11a6c8127fb7d5) | `struct gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::@0` The data field includes all [MultiplayerInvitation](/games/services/cpp/api/class/gpg/multiplayer-invitation#classgpg_1_1_multiplayer_invitation)s and [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es, grouped for conventient display in UI. |\n| [invitations](#structgpg_1_1_turn_based_multiplayer_manager_1_1_turn_based_matches_response_1a53517e0b84c41d51159abc15b5fda96e) | `std::vector\u003c `[MultiplayerInvitation](/games/services/cpp/api/class/gpg/multiplayer-invitation#classgpg_1_1_multiplayer_invitation)` \u003e` A vector of all [MultiplayerInvitation](/games/services/cpp/api/class/gpg/multiplayer-invitation#classgpg_1_1_multiplayer_invitation)s. |\n| [my_turn_matches](#structgpg_1_1_turn_based_multiplayer_manager_1_1_turn_based_matches_response_1a10172bacef250e38ea3e77f1ff73ebff) | `std::vector\u003c `[TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)` \u003e` A vector of [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es with [MatchStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a3f70b0925521329511a6994f44a11cbe)`MY_TURN` or `PENDING_COMPLETION`. |\n| [status](#structgpg_1_1_turn_based_multiplayer_manager_1_1_turn_based_matches_response_1af1c1a7263b250daabc3dee688c0ae8b2) | [MultiplayerStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1ad9430a5d223ce8fb0fe78d07e6b183b4) The `MultiplayerStatus` of the operation that generated this `Response`. |\n| [their_turn_matches](#structgpg_1_1_turn_based_multiplayer_manager_1_1_turn_based_matches_response_1ad8051c95b28f3d1d8e4908e35a8ae319) | `std::vector\u003c `[TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)` \u003e` A vector of [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es with [MatchStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a3f70b0925521329511a6994f44a11cbe)`THEIR_TURN`. |\n\nPublic attributes\n-----------------\n\n### completed_matches\n\n```c++\nstd::vector\u003c TurnBasedMatch \u003e gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::completed_matches\n``` \nA vector of [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es with [MatchStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a3f70b0925521329511a6994f44a11cbe)`COMPLETED`.\n\nMatches are sorted by last update time. \n\n### data\n\n```c++\nstruct gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::@0 gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::data\n``` \nThe data field includes all [MultiplayerInvitation](/games/services/cpp/api/class/gpg/multiplayer-invitation#classgpg_1_1_multiplayer_invitation)s and [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es, grouped for conventient display in UI.\n\nThis struct will only contain valid data if `IsSuccess(status)`. \n\n### invitations\n\n```c++\nstd::vector\u003c MultiplayerInvitation \u003e gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::invitations\n``` \nA vector of all [MultiplayerInvitation](/games/services/cpp/api/class/gpg/multiplayer-invitation#classgpg_1_1_multiplayer_invitation)s.\n\nInvitations are sorted by last update time. \n\n### my_turn_matches\n\n```c++\nstd::vector\u003c TurnBasedMatch \u003e gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::my_turn_matches\n``` \nA vector of [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es with [MatchStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a3f70b0925521329511a6994f44a11cbe)`MY_TURN` or `PENDING_COMPLETION`.\n\nMatches are sorted by last update time. \n\n### status\n\n```c++\nMultiplayerStatus gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::status\n``` \nThe `MultiplayerStatus` of the operation that generated this `Response`. \n\n### their_turn_matches\n\n```c++\nstd::vector\u003c TurnBasedMatch \u003e gpg::TurnBasedMultiplayerManager::TurnBasedMatchesResponse::their_turn_matches\n``` \nA vector of [TurnBasedMatch](/games/services/cpp/api/class/gpg/turn-based-match#classgpg_1_1_turn_based_match)es with [MatchStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1a3f70b0925521329511a6994f44a11cbe)`THEIR_TURN`.\n\nMatches are sorted by last update time."]]