1
This commit is contained in:
commit
2836f7c213
@ -339,6 +339,7 @@ void Player::_CMSendCustomMsg(f8::MsgHdr& hdr, const cs::CMSendCustomMsg& msg)
|
||||
for (auto& target_id : msg.target_list()) {
|
||||
Friend* friend_data = GetFriendById(target_id);
|
||||
if (friend_data) {
|
||||
ss_msg.set_target(target_id);
|
||||
SendSSMsg(*friend_data, ss_msg);
|
||||
}
|
||||
}
|
||||
@ -694,6 +695,7 @@ void Player::InternalSendSSMsg(const Friend& friend_data,
|
||||
int msgid,
|
||||
::google::protobuf::Message& msg)
|
||||
{
|
||||
#if 0
|
||||
if (friend_data.server_key.empty()) {
|
||||
return;
|
||||
}
|
||||
@ -701,6 +703,7 @@ void Player::InternalSendSSMsg(const Friend& friend_data,
|
||||
if (conn) {
|
||||
conn->SendMsg(msgid, msg);
|
||||
}
|
||||
#endif
|
||||
#if 1
|
||||
{
|
||||
Player* hum = PlayerMgr::Instance()->GetPlayerByAccountId(friend_data.base_data.account_id);
|
||||
|
Loading…
x
Reference in New Issue
Block a user