From 46fcb8c57c6bdd96a0bd339335ba7d51b479c900 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 12 Oct 2024 15:19:35 +0800 Subject: [PATCH] 1 --- server/matchserver/team/team.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/matchserver/team/team.go b/server/matchserver/team/team.go index 6bf85b5f..572e4d81 100644 --- a/server/matchserver/team/team.go +++ b/server/matchserver/team/team.go @@ -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))