This commit is contained in:
aozhiwei 2020-07-09 16:55:33 +08:00
parent cadc317deb
commit 1960dbcd33
2 changed files with 10 additions and 6 deletions

View File

@ -88,13 +88,16 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg, int& game_times)
}
time_t register_time = f8::ExtractRegisterTimeFromSessionId(msg.session_id());
#if 1
if (a8::BetweenDays(Global::g_nowtime, register_time) <= 0) {
return RT_OldBrid1;
#if 1
if (!msg.team_uuid().empty()) {
} else {
return RT_OldBrid2;
if (a8::BetweenDays(Global::g_nowtime, register_time) <= 0) {
return RT_OldBrid1;
} else {
return RT_OldBrid2;
}
}
#else
#else
if (rank >= 0 && rank <= 10) {
return RT_OldBrid1;
} else if (rank >= 11 && rank <= 17) {
@ -104,7 +107,7 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg, int& game_times)
} else {
return RT_OldBrid1;
}
#endif
#endif
}
void RoomMgr::Init()

View File

@ -671,6 +671,7 @@ message MFTeamMember
optional int32 game_times = 4; //
optional int32 win_times = 5; //
optional int32 kill_times = 6; //
optional int32 create_time = 7; //
}
//end mfmsg