private void _Show_PlayerInfo(COMDT_PLAYERINFO info, uint force, int levelIndex, string headurl = "", COMDT_GAME_VIP_CLIENT nobeVip = null) { this.nameText.text = string.Format(UT.Bytes2String(info.szName), new object[0]); this.levelText.text = string.Format(info.dwLevel.ToString(), new object[0]); if (string.IsNullOrEmpty(headurl)) { this.HttpImage.GetComponent <Image>().SetSprite(CUIUtility.s_Sprite_Dynamic_Icon_Dir + Singleton <BurnExpeditionController> .instance.model.GetRandomRobotIcon(levelIndex), this.map_fromScript, true, false, false); } else { UT.SetHttpImage(this.HttpImage, headurl); } Image component = this.enemyNode.transform.FindChild("PlayerIcon/NobeIcon").GetComponent <Image>(); Image image = this.enemyNode.transform.FindChild("PlayerIcon/pnlSnsHead/NobeImag").GetComponent <Image>(); if (nobeVip != null) { if (component != null) { MonoSingleton <NobeSys> .GetInstance().SetNobeIcon(component, (int)nobeVip.dwCurLevel, false); } if (image != null) { MonoSingleton <NobeSys> .GetInstance().SetHeadIconBk(image, (int)nobeVip.dwHeadIconId); } } this.enemy_node_0.CustomSetActive(false); this.enemy_node_1.CustomSetActive(false); this.enemy_node_2.CustomSetActive(false); for (int i = 0; i < info.astChoiceHero.Length; i++) { COMDT_CHOICEHERO comdt_choicehero = info.astChoiceHero[i]; if ((comdt_choicehero != null) && (comdt_choicehero.stBaseInfo.stCommonInfo.dwHeroID != 0)) { this._Show_Enemy_Heros(i, comdt_choicehero.stBaseInfo.stCommonInfo.dwHeroID, string.Empty, comdt_choicehero.stBaseInfo.stCommonInfo.wLevel, comdt_choicehero.stBaseInfo.stCommonInfo.wStar, comdt_choicehero.stBurningInfo.dwBloodTTH, comdt_choicehero.stBaseInfo.stCommonInfo.dwHeroID); } } this.SymbolLevel.CustomSetActive(false); for (int j = 0; j < info.astChoiceHero.Length; j++) { COMDT_CHOICEHERO comdt_choicehero2 = info.astChoiceHero[j]; if ((comdt_choicehero2 != null) && (comdt_choicehero2.stBaseInfo.stCommonInfo.dwHeroID != 0)) { int symbolLvWithArray = CSymbolInfo.GetSymbolLvWithArray(comdt_choicehero2.SymbolID); if (symbolLvWithArray > 0) { this.SymbolLevel.CustomSetActive(true); Utility.GetComponetInChild <Text>(this.SymbolLevel, "Text").text = symbolLvWithArray.ToString(); } break; } } BurnExpeditionModel model = Singleton <BurnExpeditionController> .instance.model; uint[] numArray = model.Get_Buffs(levelIndex); this._Show_Buff(this._GetBuffNode(0), (int)numArray[0], false); this._Show_Buff(this._GetBuffNode(1), (int)numArray[1], false); this._Show_Buff(this._GetBuffNode(2), (int)numArray[2], false); this._Show_Buff_Selected_Index(model.curSelect_BuffIndex); }