// Token: 0x060031C9 RID: 12745 RVA: 0x000C3F94 File Offset: 0x000C2194
        private void UpdateBattleHeroActionPositionIndex(int heroPos)
        {
            BattleHeroSetupInfo battleHeroSetupInfo = this.GetBattleHeroSetupInfo(heroPos);

            if (battleHeroSetupInfo == null)
            {
                return;
            }
            if (battleHeroSetupInfo.Hero != null)
            {
                if (this.m_pvpHeroPositionCount0 > 0)
                {
                    battleHeroSetupInfo.Hero.ActionPositionIndex = this.PVPRoomPositionToTeamPosition(battleHeroSetupInfo.PlayerIndex, battleHeroSetupInfo.Position);
                }
                else
                {
                    battleHeroSetupInfo.Hero.ActionPositionIndex = battleHeroSetupInfo.Position;
                }
            }
        }
 // Token: 0x060031D5 RID: 12757 RVA: 0x000C42C4 File Offset: 0x000C24C4
 public static ProBattleHeroSetupInfo BattleHeroSetupInfoToPbProBattleHeroSetupInfo(BattleHeroSetupInfo info)
 {
     return(new ProBattleHeroSetupInfo
     {
         PlayerIndex = info.PlayerIndex,
         Position = info.Position,
         Hero = ((info.Hero == null) ? null : BattleHero.BattleHeroToPBBattleHero(info.Hero)),
         Flag = (int)info.Flag
     });
 }