1
This commit is contained in:
parent
9ca9f553fd
commit
99637e8437
@ -14,14 +14,23 @@ func (this *friendMgr) Init() {
|
||||
this.friendHash = make(map[string]*map[string]int32)
|
||||
this.blackHash = make(map[string]*map[string]int32)
|
||||
this.byBlackHash = make(map[string]*map[string]int32)
|
||||
this.loadFromDB()
|
||||
}
|
||||
|
||||
func (this *friendMgr) UnInit() {
|
||||
}
|
||||
|
||||
func (this *friendMgr) loadFromDB() {
|
||||
//this.loadFriendships()
|
||||
//this.loadBlacklist()
|
||||
this.loadFriendships()
|
||||
this.loadBlacklist()
|
||||
}
|
||||
|
||||
func (this *friendMgr) loadFriendships() {
|
||||
|
||||
}
|
||||
|
||||
func (this *friendMgr) loadBlacklist() {
|
||||
|
||||
}
|
||||
|
||||
func (this *friendMgr) IsFriend(accountId1 string, accountId2 string) bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user