使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
gpg::RealTimeMultiplayerManager::RealTimeRoomResponse
#include <real_time_multiplayer_manager.h>
特定 RealTimeRoom
对象的 Data
和 ResponseStatus
。
摘要
只有当 IsSuccess()
针对 ResponseStatus
返回 true 时,房间值才有效。
公共属性
会议室
RealTimeRoom gpg::RealTimeMultiplayerManager::RealTimeRoomResponse::room
status
MultiplayerStatus gpg::RealTimeMultiplayerManager::RealTimeRoomResponse::status
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# gpg::RealTimeMultiplayerManager::RealTimeRoomResponse Struct Reference\n\ngpg::RealTimeMultiplayerManager::RealTimeRoomResponse\n=====================================================\n\n`#include \u003creal_time_multiplayer_manager.h\u003e`\n\n`Data` and `ResponseStatus` for a specific [RealTimeRoom](/games/services/cpp/api/class/gpg/real-time-room#classgpg_1_1_real_time_room) object.\n\nSummary\n-------\n\nThe room value is only valid if [IsSuccess()](/games/services/cpp/api/namespace/gpg#namespacegpg_1a61c5fcddb17a1efad15d843513d61d56) returns true for `ResponseStatus`.\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [room](#structgpg_1_1_real_time_multiplayer_manager_1_1_real_time_room_response_1a869f54221bedf15cbe299d91d37f76ab) | [RealTimeRoom](/games/services/cpp/api/class/gpg/real-time-room#classgpg_1_1_real_time_room) The [RealTimeRoom](/games/services/cpp/api/class/gpg/real-time-room#classgpg_1_1_real_time_room) object for this response. |\n| [status](#structgpg_1_1_real_time_multiplayer_manager_1_1_real_time_room_response_1a4bd03cf1c02776c29a4fed469a2a12d9) | [MultiplayerStatus](/games/services/cpp/api/namespace/gpg#namespacegpg_1ad9430a5d223ce8fb0fe78d07e6b183b4) The status of the operation that generated this response. |\n\nPublic attributes\n-----------------\n\n### room\n\n```c++\nRealTimeRoom gpg::RealTimeMultiplayerManager::RealTimeRoomResponse::room\n``` \nThe [RealTimeRoom](/games/services/cpp/api/class/gpg/real-time-room#classgpg_1_1_real_time_room) object for this response.\n\n`Valid()` only returns true for the room if [IsSuccess()](/games/services/cpp/api/namespace/gpg#namespacegpg_1a61c5fcddb17a1efad15d843513d61d56) returns true for `status`. \n\n### status\n\n```c++\nMultiplayerStatus gpg::RealTimeMultiplayerManager::RealTimeRoomResponse::status\n``` \nThe status of the operation that generated this response."]]