邮件红点
This commit is contained in:
parent
bf08bbbfbd
commit
39e84031ae
|
|
@ -1,7 +1,6 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"mongo.games.com/game/srvdata"
|
||||
"time"
|
||||
|
||||
"mongo.games.com/goserver/core/basic"
|
||||
|
|
@ -13,6 +12,7 @@ import (
|
|||
"mongo.games.com/game/model"
|
||||
"mongo.games.com/game/proto"
|
||||
"mongo.games.com/game/protocol/shop"
|
||||
"mongo.games.com/game/srvdata"
|
||||
)
|
||||
|
||||
type CSShopInfoPacketFactory struct {
|
||||
|
|
|
|||
|
|
@ -787,6 +787,9 @@ func (this *Player) MessageShowRed() {
|
|||
if msg.State == model.MSGSTATE_UNREAD ||
|
||||
(msg.State == model.MSGSTATE_READED && msg.AttachState == model.MSGATTACHSTATE_DEFAULT &&
|
||||
(msg.Coin > 0 || msg.Diamond > 0 || len(msg.Params) > 0)) {
|
||||
if len(msg.Channel) > 0 && !common.InSliceString(msg.Channel, this.LastChannel) {
|
||||
continue
|
||||
}
|
||||
if msg.ShowId == model.HallAll {
|
||||
msgMap[model.HallMain] = 1
|
||||
msgMap[model.HallTienlen] = 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue