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