This commit is contained in:
殷勇 2023-09-25 14:07:26 +08:00
parent f8d74b243a
commit 77d51b98ac

View File

@ -244,8 +244,8 @@ func (p *Player) CMRemoveBlacklist(hdr *f5.MsgHdr, msg *cs.CMRemoveBlacklist) {
})
}
// CMInviteFriendToTeam 邀请好友加入队伍
func (p *Player) CMInviteFriendToTeam(hdr *f5.MsgHdr, msg *cs.CMInviteFriendMsg) {
// CMInviteFriendMsg 邀请好友加入队伍
func (p *Player) CMInviteFriendMsg(hdr *f5.MsgHdr, msg *cs.CMInviteFriendMsg) {
rspMsg := new(cs.SMInviteFriendMsg)
p2 := playerMgr.GetPlayerByAccountId(msg.GetInviteAccountId())
if p2 == nil {