back_recharge
wangyuan 2019-07-24 15:02:14 +08:00
parent e1b0b71d7f
commit 557ac14709
1 changed files with 1 additions and 0 deletions

View File

@ -185,6 +185,7 @@ public class BehaviorUtil {
* @return
*/
public static CommonProto.FightTeamInfo getFightTeamInfo(User user, int teamId,boolean isMySelf) {
user.getTeamPosManager().setCurTeamPosId(teamId);
List<CommonProto.FightUnitInfo> heroFightInfos = new ArrayList<>();
List<TeamPosHeroInfo> teamPosHeroInfos = user.getTeamPosManager().getTeamPosForHero().get(teamId);
for (TeamPosHeroInfo teamPosHeroInfo : teamPosHeroInfos) {