1
This commit is contained in:
parent
bad1ecf78a
commit
41ad318626
@ -125,6 +125,10 @@ void RoomMgr::Update(int delta_time)
|
|||||||
|
|
||||||
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
void RoomMgr::_CMJoin(f8::MsgHdr& hdr, const cs::CMJoin& msg)
|
||||||
{
|
{
|
||||||
|
if (msg.proto_version() < 2021073001) {
|
||||||
|
JoinErrorHandle(msg, 6, hdr.socket_handle);
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (IsLimitJoin()) {
|
if (IsLimitJoin()) {
|
||||||
JoinErrorHandle(msg, 2, hdr.socket_handle);
|
JoinErrorHandle(msg, 2, hdr.socket_handle);
|
||||||
return;
|
return;
|
||||||
|
@ -50,7 +50,7 @@ package cs;
|
|||||||
//常量
|
//常量
|
||||||
enum Constant_e
|
enum Constant_e
|
||||||
{
|
{
|
||||||
ProtoVersion = 2020081401; //系统版本
|
ProtoVersion = 2021073001; //系统版本
|
||||||
}
|
}
|
||||||
|
|
||||||
//心跳
|
//心跳
|
||||||
|
Loading…
x
Reference in New Issue
Block a user