1
This commit is contained in:
parent
725e1676c0
commit
be299ef07c
@ -43,6 +43,11 @@ SMLogin
|
||||
用户群创建时间range(开始时间,结束时间)
|
||||
用户群指定账号列表
|
||||
|
||||
邮件类型
|
||||
纯个人邮件
|
||||
群邮件
|
||||
全局邮件
|
||||
|
||||
邮件
|
||||
增删改
|
||||
用户组
|
||||
|
@ -13,9 +13,8 @@ const (
|
||||
)
|
||||
|
||||
const (
|
||||
MAIL_TYPE_PERSONAL = 1
|
||||
MAIL_TYPE_GROUP = 2
|
||||
MAIL_TYPE_ALL = 3
|
||||
MAIL_TYPE_GROUP = 1
|
||||
MAIL_TYPE_ALL = 2
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -23,7 +23,6 @@ type mail struct {
|
||||
userRegEnd int32
|
||||
attachments []*attachment
|
||||
userGroups *sync.Map
|
||||
reciver string
|
||||
}
|
||||
|
||||
func (this *mail) init() {
|
||||
|
@ -221,6 +221,7 @@ func (this *mailMgr) traversePlayerMail(hum common.Player, cb func(*mail) bool)
|
||||
}
|
||||
|
||||
func (this *mailMgr) addMail(m *mail) {
|
||||
/*
|
||||
this.idHash.Store(m.mailId, m)
|
||||
if m.isType(constant.MAIL_TYPE_ALL) {
|
||||
this.wholeMails.Store(m.mailId, m)
|
||||
@ -234,7 +235,7 @@ func (this *mailMgr) addMail(m *mail) {
|
||||
p.Store(m.mailId, m)
|
||||
this.personalMails.Store(m.reciver, p)
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
func (this *mailMgr) addGroup(g *userGroup) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user