// Token: 0x06009E98 RID: 40600 RVA: 0x002CEB38 File Offset: 0x002CCD38 public void SetArenaOpponent(ArenaOpponent o, int idx, bool isGuardBattle) { if (!BJLuaObjHelper.IsSkipLuaHotfix && this.TryInitHotFix("") && this.m_SetArenaOpponentArenaOpponentInt32Boolean_hotfix != null) { this.m_SetArenaOpponentArenaOpponentInt32Boolean_hotfix.call(new object[] { this, o, idx, isGuardBattle }); return; } BJLuaObjHelper.IsSkipLuaHotfix = false; this.m_playerNameText.text = o.Name; this.m_playerLevelText.text = o.Level.ToString(); this.m_playerIconImage.sprite = AssetUtility.Instance.GetSprite(UIUtility.GetPlayerHeadIconImageName(HeadIconTools.GetHeadPortrait(o.HeadIcon))); if (isGuardBattle) { this.m_arenaPointsGameObject.SetActive(false); } else { this.m_arenaPointsGameObject.SetActive(true); this.m_arenaPointsText.text = o.ArenaPoints.ToString(); } this.m_index = idx; int num = 3 - idx; if (isGuardBattle) { this.m_uiStateCtrl.SetToUIState("High", false, true); } else if (num == 1) { this.m_uiStateCtrl.SetToUIState("Low", false, true); } else if (num == 2) { this.m_uiStateCtrl.SetToUIState("Normal", false, true); } else if (num == 3) { this.m_uiStateCtrl.SetToUIState("High", false, true); } IConfigDataLoader configDataLoader = GameManager.Instance.ConfigDataLoader as IConfigDataLoader; ConfigDataArenaOpponentPointZoneInfo configDataArenaOpponentPointZoneInfo = configDataLoader.GetConfigDataArenaOpponentPointZoneInfo(num); if (configDataArenaOpponentPointZoneInfo != null) { this.m_victoryPointsText.text = "+ " + configDataArenaOpponentPointZoneInfo.VictoryPoint; } }