1
This commit is contained in:
parent
bc954f51df
commit
70848598e4
@ -77,6 +77,22 @@ type GuildMember interface {
|
||||
|
||||
type GuildMgr interface {
|
||||
GetGuildByAccountId(string) Guild
|
||||
GetRecommendGuilds(string) []Guild
|
||||
GetGuildRank() []Guild
|
||||
AsyncCreateGuild(string, string, func(int32, string, int64))
|
||||
AsyncGetApplyList(int64, string, func(int32, string, int64, []string))
|
||||
AsyncApplyJoin(string, string, func(int32, string))
|
||||
AsyncAcceptApply(string, string, func(int32, string))
|
||||
AsyncRejectApply(string, string, func(int32, string))
|
||||
AsyncLeave(string, string, func(int32, string))
|
||||
AsyncKickout(string, string, func(int32, string))
|
||||
AsyncDisband(string, string, func(int32, string))
|
||||
AsyncSetNotice(string, string, func(int32, string))
|
||||
AsyncSetAvatar(string, string, func(int32, string))
|
||||
AsyncSetName(string, string, func(int32, string))
|
||||
AsyncSetJoinCond(string, string, func(int32, string))
|
||||
AsyncSearch(string, string, func(int32, string))
|
||||
AsyncGetGuildLogs(string, string, func(int32, string))
|
||||
}
|
||||
|
||||
type CacheMgr interface {
|
||||
|
@ -1,6 +1,7 @@
|
||||
package guild
|
||||
|
||||
import (
|
||||
"main/common"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -26,3 +27,72 @@ func (this *GuildMgr) UnInit() {
|
||||
func (this *GuildMgr) isNameTooLong(name string, maxNum int) bool {
|
||||
return len(name) > maxNum
|
||||
}
|
||||
|
||||
func (this *GuildMgr) GetGuildByAccountId(string) common.Guild {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (this *GuildMgr) GetRecommendGuilds(string) []Guild {
|
||||
guilds := []Guild{}
|
||||
return guilds
|
||||
}
|
||||
|
||||
func (this *GuildMgr) GetGuildRank() []Guild {
|
||||
guilds := []Guild{}
|
||||
return guilds
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncCreateGuild(string, string, func(int32, string, int64)) {
|
||||
|
||||
}
|
||||
func (this *GuildMgr) AsyncGetApplyList(int64, string, func(int32, string, int64, []string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncApplyJoin(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncAcceptApply(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncRejectApply(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncLeave(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncKickout(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncDisband(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncSetNotice(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncSetAvatar(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncSetName(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncSetJoinCond(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncSearch(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
||||
func (this *GuildMgr) AsyncGetGuildLogs(string, string, func(int32, string)) {
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user