This commit is contained in:
aozhiwei 2024-09-20 14:37:39 +08:00
parent 22b25bb152
commit bac7f9412f
3 changed files with 7 additions and 0 deletions

View File

@ -114,6 +114,7 @@ const (
const ( const (
MAP_MODE_BOUNTY = 301 MAP_MODE_BOUNTY = 301
MAP_MODE_CIRCUIT = 601
) )
const ( const (

View File

@ -6,6 +6,8 @@ require q5 v1.0.0
require f5 v1.0.0 require f5 v1.0.0
require jccommon v1.0.0
require main v1.0.0 require main v1.0.0
require cs v1.0.0 require cs v1.0.0

View File

@ -3,6 +3,7 @@ package history
import ( import (
"q5" "q5"
"cs" "cs"
"jccommon"
"main/common" "main/common"
"github.com/golang/protobuf/proto" "github.com/golang/protobuf/proto"
) )
@ -41,6 +42,9 @@ func (this *historyMgr) PushLastBattleInfo(hum common.Player) {
p.MapId = proto.Int32(mapId) p.MapId = proto.Int32(mapId)
p.ModeId = proto.Int32(modeId) p.ModeId = proto.Int32(modeId)
p.StartTime = proto.Int32(val) p.StartTime = proto.Int32(val)
if modeId == jccommon.MAP_MODE_CIRCUIT {
}
} }
hum.SendMsg(msg) hum.SendMsg(msg)
} }