1
This commit is contained in:
parent
428ec197c9
commit
3b6ad65bf6
@ -55,6 +55,7 @@ type PlayerMgr interface {
|
||||
}
|
||||
|
||||
type FriendMgr interface {
|
||||
IsFriend(string, string) bool
|
||||
}
|
||||
|
||||
type Guild interface {
|
||||
|
@ -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)
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user