1
This commit is contained in:
parent
cadc317deb
commit
1960dbcd33
@ -88,13 +88,16 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg, int& game_times)
|
|||||||
}
|
}
|
||||||
|
|
||||||
time_t register_time = f8::ExtractRegisterTimeFromSessionId(msg.session_id());
|
time_t register_time = f8::ExtractRegisterTimeFromSessionId(msg.session_id());
|
||||||
#if 1
|
#if 1
|
||||||
if (a8::BetweenDays(Global::g_nowtime, register_time) <= 0) {
|
if (!msg.team_uuid().empty()) {
|
||||||
return RT_OldBrid1;
|
|
||||||
} else {
|
} 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) {
|
if (rank >= 0 && rank <= 10) {
|
||||||
return RT_OldBrid1;
|
return RT_OldBrid1;
|
||||||
} else if (rank >= 11 && rank <= 17) {
|
} else if (rank >= 11 && rank <= 17) {
|
||||||
@ -104,7 +107,7 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg, int& game_times)
|
|||||||
} else {
|
} else {
|
||||||
return RT_OldBrid1;
|
return RT_OldBrid1;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void RoomMgr::Init()
|
void RoomMgr::Init()
|
||||||
|
@ -671,6 +671,7 @@ message MFTeamMember
|
|||||||
optional int32 game_times = 4; //游戏次数
|
optional int32 game_times = 4; //游戏次数
|
||||||
optional int32 win_times = 5; //吃鸡次数
|
optional int32 win_times = 5; //吃鸡次数
|
||||||
optional int32 kill_times = 6; //击杀数
|
optional int32 kill_times = 6; //击杀数
|
||||||
|
optional int32 create_time = 7; //账号创建时间
|
||||||
}
|
}
|
||||||
|
|
||||||
//end mfmsg
|
//end mfmsg
|
||||||
|
Loading…
x
Reference in New Issue
Block a user