1
This commit is contained in:
parent
c2f2684c3d
commit
6b85d6913a
@ -32,6 +32,10 @@ func GetTeamMgr() common.TeamMgr {
|
|||||||
return teamMgr
|
return teamMgr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func GetHistoryMgr() common.HistoryMgr {
|
||||||
|
return historyMgr
|
||||||
|
}
|
||||||
|
|
||||||
func GetWspListener() common.WspListener {
|
func GetWspListener() common.WspListener {
|
||||||
return wspListener
|
return wspListener
|
||||||
}
|
}
|
||||||
|
@ -7,6 +7,7 @@ import (
|
|||||||
"main/mt"
|
"main/mt"
|
||||||
"main/common"
|
"main/common"
|
||||||
"main/constant"
|
"main/constant"
|
||||||
|
. "main/global"
|
||||||
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"sort"
|
"sort"
|
||||||
@ -427,6 +428,9 @@ func (this *team) genStartGameInfo() {
|
|||||||
ele2.AccountId = m.GetAccountId()
|
ele2.AccountId = m.GetAccountId()
|
||||||
ele2.SpecSkill = m.GetSpecSkill()
|
ele2.SpecSkill = m.GetSpecSkill()
|
||||||
ele2.HeroUniId = m.GetHeroUniid()
|
ele2.HeroUniId = m.GetHeroUniid()
|
||||||
|
GetHistoryMgr().AddBattle(m.GetAccountId(),
|
||||||
|
this.mapInfo.MapId,
|
||||||
|
q5.SafeToInt32(this.mapInfo.ModeId))
|
||||||
}
|
}
|
||||||
if this.IsMobaMode() {
|
if this.IsMobaMode() {
|
||||||
robotIdx := 0
|
robotIdx := 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user