1
This commit is contained in:
parent
11b1482cec
commit
e2945e13a6
@ -58,7 +58,7 @@ type FriendMgr interface {
|
|||||||
IsFriend(string, string) bool
|
IsFriend(string, string) bool
|
||||||
GetFriendList(string) []string
|
GetFriendList(string) []string
|
||||||
GetBlackList(string) []string
|
GetBlackList(string) []string
|
||||||
AsyncGetApplyList(int64, string, func(int32, string, int64, []string))
|
AsyncGetApplyList(string, string, func(int32, string, int64, []string))
|
||||||
AsyncAddFriend(string, string, func(int32, string))
|
AsyncAddFriend(string, string, func(int32, string))
|
||||||
AsyncAccpetApply(string, string, func(int32, string))
|
AsyncAccpetApply(string, string, func(int32, string))
|
||||||
AsyncRejectApply(string, string, func(int32, string))
|
AsyncRejectApply(string, string, func(int32, string))
|
||||||
@ -69,6 +69,7 @@ type FriendMgr interface {
|
|||||||
|
|
||||||
type Guild interface {
|
type Guild interface {
|
||||||
GetGuildId() string
|
GetGuildId() string
|
||||||
|
GetGuildName() string
|
||||||
}
|
}
|
||||||
|
|
||||||
type GuildMember interface {
|
type GuildMember interface {
|
||||||
|
@ -21,3 +21,7 @@ type guild struct {
|
|||||||
func (this *guild) GetGuildId() string {
|
func (this *guild) GetGuildId() string {
|
||||||
return this.guildId
|
return this.guildId
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *guild) GetGuildName() string {
|
||||||
|
return this.guildName
|
||||||
|
}
|
||||||
|
@ -50,6 +50,7 @@ func (this *guildMgr) GetGuildRank() []common.Guild {
|
|||||||
func (this *guildMgr) AsyncCreateGuild(string, string, func(int32, string, int64)) {
|
func (this *guildMgr) AsyncCreateGuild(string, string, func(int32, string, int64)) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *guildMgr) AsyncGetApplyList(int64, string, func(int32, string, int64, []string)) {
|
func (this *guildMgr) AsyncGetApplyList(int64, string, func(int32, string, int64, []string)) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -92,7 +92,7 @@ func (this *player) CMSearchUserByAccountId(hdr *f5.MsgHdr, msg *cs.CMSearchUser
|
|||||||
|
|
||||||
func (this *player) CMListPendingFriendRequest(hdr *f5.MsgHdr, msg *cs.CMListPendingFriendRequest) {
|
func (this *player) CMListPendingFriendRequest(hdr *f5.MsgHdr, msg *cs.CMListPendingFriendRequest) {
|
||||||
GetFriendMgr().AsyncGetApplyList(
|
GetFriendMgr().AsyncGetApplyList(
|
||||||
0,
|
"",
|
||||||
this.GetAccountId(),
|
this.GetAccountId(),
|
||||||
func (errCode int32, errMsg string, sinceId int64, accountIds []string) {
|
func (errCode int32, errMsg string, sinceId int64, accountIds []string) {
|
||||||
rspMsg := new(cs.SMListPendingFriendRequest)
|
rspMsg := new(cs.SMListPendingFriendRequest)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user