1
This commit is contained in:
parent
0a4bef9c26
commit
1190220869
@ -950,9 +950,8 @@ void Player::_CMEmote(f8::MsgHdr& hdr, const cs::CMEmote& msg)
|
|||||||
void Player::_CMVoice(f8::MsgHdr& hdr, const cs::CMVoice& msg)
|
void Player::_CMVoice(f8::MsgHdr& hdr, const cs::CMVoice& msg)
|
||||||
{
|
{
|
||||||
cs::SMVoiceNotify notifymsg;
|
cs::SMVoiceNotify notifymsg;
|
||||||
notifymsg.set_mode(msg.mode());
|
|
||||||
notifymsg.set_account_id(account_id);
|
notifymsg.set_account_id(account_id);
|
||||||
notifymsg.set_msg(msg.msg());
|
notifymsg.set_download_url(msg.download_url());
|
||||||
auto send_func = [] (Player* hum, a8::XParams& param)
|
auto send_func = [] (Player* hum, a8::XParams& param)
|
||||||
{
|
{
|
||||||
cs::SMVoiceNotify* msg = (cs::SMVoiceNotify*)param.sender.GetUserData();
|
cs::SMVoiceNotify* msg = (cs::SMVoiceNotify*)param.sender.GetUserData();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user