1
This commit is contained in:
parent
b91c9a4fec
commit
04c55edcd0
@ -591,9 +591,7 @@ Room* RoomMgr::CreateRoom(const cs::CMJoin& msg,
|
||||
init_info.creator_channel = creator_channel;
|
||||
init_info.pve_instance_id = msg.pve_instance_id();
|
||||
init_info.pve_human_num = std::max(1, msg.team_members_size());
|
||||
#ifdef NEWBIE_ROOM
|
||||
init_info.is_newbie_room = true;
|
||||
#endif
|
||||
init_info.is_newbie_room = msg.force_enter_newbie_room() ? true : false;
|
||||
if (GetRoomByUuid(init_info.room_uuid)) {
|
||||
A8_ABORT();
|
||||
}
|
||||
|
@ -1215,6 +1215,7 @@ message CMJoin
|
||||
optional string hero_uniid = 71; //英雄唯一id
|
||||
optional int32 pve_instance_id = 72; //pve副本id
|
||||
optional int32 team_slot_num = 73; //队伍槽位数1-4
|
||||
optional int32 force_enter_newbie_room = 74; //强制进新手房
|
||||
}
|
||||
|
||||
//断线重连
|
||||
|
Loading…
x
Reference in New Issue
Block a user