1
This commit is contained in:
parent
7073914e00
commit
2b98ec36ee
@ -5,15 +5,9 @@ import (
|
|||||||
"main/common"
|
"main/common"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ReadMail struct {
|
type mail struct {
|
||||||
mailId int64
|
mailId int64
|
||||||
readTime int32
|
state int32
|
||||||
expireTime int32
|
|
||||||
}
|
|
||||||
|
|
||||||
type DeletedMail struct {
|
|
||||||
mailId int64
|
|
||||||
deleteTime int32
|
|
||||||
expireTime int32
|
expireTime int32
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -23,13 +17,11 @@ type player struct {
|
|||||||
sessionId string
|
sessionId string
|
||||||
registerTime int32
|
registerTime int32
|
||||||
loaded bool
|
loaded bool
|
||||||
readMailHash map[int64]*ReadMail
|
mailHash map[int64]*mail
|
||||||
deletedMailHash map[int64]*DeletedMail
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *player) init() {
|
func (this *player) init() {
|
||||||
this.readMailHash = make(map[int64]*ReadMail)
|
this.mailHash = make(map[int64]*mail)
|
||||||
this.deletedMailHash = make(map[int64]*DeletedMail)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *player) Lock() {
|
func (this *player) Lock() {
|
||||||
|
2
third_party/q5
vendored
2
third_party/q5
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 70d3baf515740ef2be305e59054f07e3e3606758
|
Subproject commit fc08e4f8c51900b8eec8f67e29ccd321c1f1a758
|
Loading…
x
Reference in New Issue
Block a user