diff options
author | FearlessTobi <thm.frey@gmail.com> | 2022-08-27 03:31:17 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2022-08-27 03:31:17 +0200 |
commit | 839e1faf491776f4e2348c46773c248644e260ba (patch) | |
tree | dab0425ff7e8f6817d0c363c59107adb39785ef2 /src/network/room_member.cpp | |
parent | network: Use lower timeout for enet_host_service (diff) | |
download | yuzu-839e1faf491776f4e2348c46773c248644e260ba.tar yuzu-839e1faf491776f4e2348c46773c248644e260ba.tar.gz yuzu-839e1faf491776f4e2348c46773c248644e260ba.tar.bz2 yuzu-839e1faf491776f4e2348c46773c248644e260ba.tar.lz yuzu-839e1faf491776f4e2348c46773c248644e260ba.tar.xz yuzu-839e1faf491776f4e2348c46773c248644e260ba.tar.zst yuzu-839e1faf491776f4e2348c46773c248644e260ba.zip |
Diffstat (limited to 'src/network/room_member.cpp')
-rw-r--r-- | src/network/room_member.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/room_member.cpp b/src/network/room_member.cpp index 367bf377f..06818af78 100644 --- a/src/network/room_member.cpp +++ b/src/network/room_member.cpp @@ -103,7 +103,7 @@ public: /** * Extracts a ProxyPacket from a received ENet packet. - * @param event The ENet event that was received. + * @param event The ENet event that was received. */ void HandleProxyPackets(const ENetEvent* event); @@ -315,6 +315,7 @@ void RoomMember::RoomMemberImpl::HandleRoomInformationPacket(const ENetEvent* ev packet.Read(member.fake_ip); packet.Read(member.game_info.name); packet.Read(member.game_info.id); + packet.Read(member.game_info.version); packet.Read(member.username); packet.Read(member.display_name); packet.Read(member.avatar_url); @@ -622,6 +623,7 @@ void RoomMember::SendGameInfo(const GameInfo& game_info) { packet.Write(static_cast<u8>(IdSetGameInfo)); packet.Write(game_info.name); packet.Write(game_info.id); + packet.Write(game_info.version); room_member_impl->Send(std::move(packet)); } |