This commit is contained in:
aozhiwei 2024-10-12 15:19:35 +08:00
parent 9f10f02d80
commit 46fcb8c57c

View File

@ -385,6 +385,7 @@ func (this *team) genStartGameInfo() {
HeroUniId string `json:"hero_uniid"` HeroUniId string `json:"hero_uniid"`
IsAndroid int32 `json:"is_android"` IsAndroid int32 `json:"is_android"`
RobotId int32 `json:"robot_id"` RobotId int32 `json:"robot_id"`
BattleItems []*common.BattleItem `json:"battle_items"`
} `json:"members"` } `json:"members"`
} `json:"team_list"` } `json:"team_list"`
ObList []struct { ObList []struct {
@ -436,6 +437,7 @@ 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()
ele2.BattleItems = m.GetBattleItems()
GetHistoryMgr().AddBattle(m.GetAccountId(), GetHistoryMgr().AddBattle(m.GetAccountId(),
this.mapInfo.MapId, this.mapInfo.MapId,
q5.SafeToInt32(this.mapInfo.ModeId)) q5.SafeToInt32(this.mapInfo.ModeId))