This commit is contained in:
aozhiwei 2020-12-08 11:20:27 +08:00
parent f7c5b46ed3
commit 0eb19b3a2c
2 changed files with 4 additions and 4 deletions

View File

@ -267,7 +267,7 @@ Room* RoomMgr::GetJoinableRoom(const cs::CMJoin& msg,
creator_register_time, creator_register_time,
proto_version, proto_version,
channel, channel,
msg.map_id()); msg.mapid());
} }
if (self_room_type == RT_MidBrid) { if (self_room_type == RT_MidBrid) {
return CreateRoom(msg, return CreateRoom(msg,
@ -276,7 +276,7 @@ Room* RoomMgr::GetJoinableRoom(const cs::CMJoin& msg,
creator_register_time, creator_register_time,
proto_version, proto_version,
channel, channel,
msg.map_id()); msg.mapid());
} }
for (int i = 0; i < RT_Max; ++i) { for (int i = 0; i < RT_Max; ++i) {
for (Room* room : group_rooms[i]) { for (Room* room : group_rooms[i]) {
@ -291,7 +291,7 @@ Room* RoomMgr::GetJoinableRoom(const cs::CMJoin& msg,
creator_register_time, creator_register_time,
proto_version, proto_version,
channel, channel,
msg.map_id()); msg.mapid());
} }
Room* RoomMgr::GetRoomByUuid(long long room_uuid) Room* RoomMgr::GetRoomByUuid(long long room_uuid)

View File

@ -754,7 +754,7 @@ message CMJoin
optional bool force_entry_newbie_room = 50; // optional bool force_entry_newbie_room = 50; //
repeated MFTeamMember team_members = 51; // repeated MFTeamMember team_members = 51; //
optional int32 room_mode = 52; //0: 1: optional int32 room_mode = 52; //0: 1:
optional int32 map_id = 53; //id 0: optional int32 mapid = 53; //id 0:
} }
//线 //线