This commit is contained in:
aozhiwei 2020-06-17 15:30:23 +08:00
parent 39f1f6138f
commit 6aa493886b
2 changed files with 7 additions and 0 deletions

View File

@ -67,6 +67,12 @@ void Player::Serialize(ss::MFUserDB& user_db)
}
}
void Player::_CMPing(f8::MsgHdr& hdr, const cs::CMPing& msg)
{
cs::SMPing respmsg;
SendMsg(respmsg);
}
void Player::_CMUpdateUserInfo(f8::MsgHdr& hdr, const cs::CMUpdateUserInfo& msg)
{
if (msg.has_nickname()) {

View File

@ -65,6 +65,7 @@ class Player
}
}
void _CMPing(f8::MsgHdr& hdr, const cs::CMPing& msg);
void _CMUpdateUserInfo(f8::MsgHdr& hdr, const cs::CMUpdateUserInfo& msg);
void _CMUpdateTempCustomData(f8::MsgHdr& hdr, const cs::CMUpdateTempCustomData& msg);
void _CMFriendList(f8::MsgHdr& hdr, const cs::CMFriendList& msg);