Add Support for Room Descriptions

This commit is contained in:
adityaruplaha
2018-12-15 11:02:50 +08:00
committed by zhupengfei
parent c396e3c6e5
commit 5f0e189238
16 changed files with 110 additions and 23 deletions
+2
View File
@@ -230,11 +230,13 @@ void RoomMember::RoomMemberImpl::HandleRoomInformationPacket(const ENetEvent* ev
RoomInformation info{};
packet >> info.name;
packet >> info.description;
packet >> info.member_slots;
packet >> info.uid;
packet >> info.port;
packet >> info.preferred_game;
room_information.name = info.name;
room_information.description = info.description;
room_information.member_slots = info.member_slots;
room_information.port = info.port;
room_information.preferred_game = info.preferred_game;