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