This commit is contained in:
aozhiwei 2024-03-23 10:07:48 +08:00
parent 428ec197c9
commit 3b6ad65bf6
2 changed files with 5 additions and 0 deletions

View File

@ -55,6 +55,7 @@ type PlayerMgr interface {
}
type FriendMgr interface {
IsFriend(string, string) bool
}
type Guild interface {

View File

@ -83,6 +83,10 @@ func (this *player) CMSearchUserByAccountId(hdr *f5.MsgHdr, msg *cs.CMSearchUser
this.SendMsg(rspMsg.Err(1, "internal server error"))
return
}
rspMsg.Users = new(cs.MFUser)
userProfile := GetCacheMgr().GetUserProfile(msg.GetAccountId())
userProfile.FillMFUser(rspMsg.Users)
this.SendMsg(rspMsg)
})
}