This commit is contained in:
aozhiwei 2024-05-17 12:44:08 +08:00
parent 0c24715771
commit ad2d725487

View File

@ -1911,6 +1911,13 @@ void Player::_CMWatchTarget(f8::MsgHdr* hdr, const cs::CMWatchTarget& msg)
void Player::_CMTeamCommand(f8::MsgHdr* hdr, const cs::CMTeamCommand& msg)
{
#ifdef MYDEBUG
a8::XPrintf("CMTeamCommand account_id:%s socket_handle:%d\n",
{
account_id,
socket_handle
});
#endif
cs::SMTeamCommandNotify notify_msg;
notify_msg.set_sender_id(GetUniId());
notify_msg.set_custom_command(msg.custom_command());