예제 #1
0
        public static void InitLadderRecent(CUIFormScript form, List <COMDT_RANK_CURSEASON_FIGHT_RECORD> dataList)
        {
            CUIListScript component = form.transform.Find("Root/List").GetComponent <CUIListScript>();

            if (dataList == null)
            {
                component.SetElementAmount(0);
            }
            else
            {
                int num = (dataList.get_Count() < 10) ? dataList.get_Count() : 10;
                component.SetElementAmount(num);
                for (int i = 0; i < num; i++)
                {
                    CUIListElementScript elemenet = component.GetElemenet(i);
                    COMDT_RANK_CURSEASON_FIGHT_RECORD cOMDT_RANK_CURSEASON_FIGHT_RECORD = dataList.get_Item(i);
                    DebugHelper.Assert(cOMDT_RANK_CURSEASON_FIGHT_RECORD != null);
                    Image component2 = elemenet.transform.Find("imageIcon").GetComponent <Image>();
                    Text  component3 = elemenet.transform.Find("txtResult").GetComponent <Text>();
                    Text  component4 = elemenet.transform.Find("txtBraveScore").GetComponent <Text>();
                    Text  component5 = elemenet.transform.Find("txtTime").GetComponent <Text>();
                    Text  component6 = elemenet.transform.Find("txtKDA").GetComponent <Text>();
                    CLadderView.SetWinLose(component3, ref cOMDT_RANK_CURSEASON_FIGHT_RECORD);
                    component4.set_text(cOMDT_RANK_CURSEASON_FIGHT_RECORD.dwAddStarScore.ToString());
                    component5.set_text(CLadderView.GetGameTime(ref cOMDT_RANK_CURSEASON_FIGHT_RECORD));
                    component6.set_text(string.Format("{0} / {1} / {2}", cOMDT_RANK_CURSEASON_FIGHT_RECORD.dwKillNum, cOMDT_RANK_CURSEASON_FIGHT_RECORD.dwDeadNum, cOMDT_RANK_CURSEASON_FIGHT_RECORD.dwAssistNum));
                    ResHeroCfgInfo dataByKey = GameDataMgr.heroDatabin.GetDataByKey(cOMDT_RANK_CURSEASON_FIGHT_RECORD.dwHeroId);
                    if (dataByKey != null)
                    {
                        component2.SetSprite(CUIUtility.s_Sprite_Dynamic_Icon_Dir + StringHelper.UTF8BytesToString(ref dataByKey.szImagePath), form, true, false, false, false);
                        Utility.FindChild(component2.gameObject, "FiveFriend").CustomSetActive(cOMDT_RANK_CURSEASON_FIGHT_RECORD.bTeamerNum == 5);
                        Utility.FindChild(component2.gameObject, "FourFriend").CustomSetActive(cOMDT_RANK_CURSEASON_FIGHT_RECORD.bTeamerNum == 4);
                        Utility.FindChild(component2.gameObject, "ThreeFriend").CustomSetActive(cOMDT_RANK_CURSEASON_FIGHT_RECORD.bTeamerNum == 3);
                        Utility.FindChild(component2.gameObject, "TwoFriend").CustomSetActive(cOMDT_RANK_CURSEASON_FIGHT_RECORD.bTeamerNum == 2);
                        Utility.FindChild(component2.gameObject, "Bp").CustomSetActive(Convert.ToBoolean(cOMDT_RANK_CURSEASON_FIGHT_RECORD.bIsBanPick));
                    }
                    for (int j = 0; j < 6; j++)
                    {
                        COMDT_INGAME_EQUIP_INFO cOMDT_INGAME_EQUIP_INFO = null;
                        if (j < (int)cOMDT_RANK_CURSEASON_FIGHT_RECORD.bEquipNum)
                        {
                            cOMDT_INGAME_EQUIP_INFO = cOMDT_RANK_CURSEASON_FIGHT_RECORD.astEquipDetail[j];
                        }
                        Image component7 = elemenet.transform.FindChild(string.Format("TianFu/TianFuIcon{0}", (j + 1).ToString())).GetComponent <Image>();
                        if (cOMDT_INGAME_EQUIP_INFO == null || cOMDT_INGAME_EQUIP_INFO.dwEquipID == 0u)
                        {
                            component7.gameObject.CustomSetActive(false);
                        }
                        else
                        {
                            component7.gameObject.CustomSetActive(true);
                            CUICommonSystem.SetEquipIcon((ushort)cOMDT_INGAME_EQUIP_INFO.dwEquipID, component7.gameObject, form);
                        }
                    }
                }
            }
        }
예제 #2
0
        public static void InitLadderRecent(CUIFormScript form, List <COMDT_RANK_CURSEASON_FIGHT_RECORD> dataList)
        {
            CUIListScript component = form.transform.Find("Root/List").GetComponent <CUIListScript>();

            if (dataList == null)
            {
                component.SetElementAmount(0);
            }
            else
            {
                int amount = (dataList.Count >= 10) ? 10 : dataList.Count;
                component.SetElementAmount(amount);
                CUIListElementScript elemenet = null;
                for (int i = 0; i < amount; i++)
                {
                    elemenet = component.GetElemenet(i);
                    COMDT_RANK_CURSEASON_FIGHT_RECORD data = dataList[i];
                    DebugHelper.Assert(data != null);
                    Image image  = elemenet.transform.Find("imageIcon").GetComponent <Image>();
                    Text  result = elemenet.transform.Find("txtResult").GetComponent <Text>();
                    Text  text2  = elemenet.transform.Find("txtTime").GetComponent <Text>();
                    Text  text3  = elemenet.transform.Find("txtKDA").GetComponent <Text>();
                    SetWinLose(result, ref data);
                    text2.text = GetGameTime(ref data);
                    text3.text = string.Format("{0}  /  {1}  /  {2}", data.dwKillNum, data.dwDeadNum, data.dwAssistNum);
                    ResHeroCfgInfo dataByKey = GameDataMgr.heroDatabin.GetDataByKey(data.dwHeroId);
                    if (dataByKey != null)
                    {
                        image.SetSprite(CUIUtility.s_Sprite_Dynamic_Icon_Dir + StringHelper.UTF8BytesToString(ref dataByKey.szImagePath), form, true, false, false);
                        Utility.FindChild(image.gameObject, "Friend").CustomSetActive(data.bTeamerNum > 1);
                    }
                    for (int j = 0; j < 6; j++)
                    {
                        COMDT_INGAME_EQUIP_INFO comdt_ingame_equip_info = null;
                        if (j < data.bEquipNum)
                        {
                            comdt_ingame_equip_info = data.astEquipDetail[j];
                        }
                        int   num4   = j + 1;
                        Image image2 = elemenet.transform.FindChild(string.Format("TianFu/TianFuIcon{0}", num4.ToString())).GetComponent <Image>();
                        if ((comdt_ingame_equip_info == null) || (comdt_ingame_equip_info.dwEquipID == 0))
                        {
                            image2.gameObject.CustomSetActive(false);
                        }
                        else
                        {
                            image2.gameObject.CustomSetActive(true);
                            CUICommonSystem.SetEquipIcon((ushort)comdt_ingame_equip_info.dwEquipID, image2.gameObject, form);
                        }
                    }
                }
            }
        }
예제 #3
0
 public void Validate(HeroKDA kdaData)
 {
     if (kdaData != null)
     {
         this.kdaData = kdaData;
     }
     if (this.kdaData != null)
     {
         this.icon.SetSprite(string.Format("{0}{1}", CUIUtility.s_Sprite_Dynamic_Icon_Dir, CSkinInfo.GetHeroSkinPic((uint)this.kdaData.HeroId, 0)), Singleton <CBattleSystem> .instance.FormScript, true, false, false);
         Player ownerPlayer = ActorHelper.GetOwnerPlayer(ref this.kdaData.actorHero);
         this.playerName.text = ownerPlayer.Name;
         this.heroName.text   = this.kdaData.actorHero.handle.TheStaticData.TheResInfo.Name;
         this.level.text      = this.kdaData.actorHero.handle.ValueComponent.actorSoulLevel.ToString();
         this.killNum.text    = this.kdaData.numKill.ToString();
         this.deadNum.text    = this.kdaData.numDead.ToString();
         this.killMon.text    = (this.kdaData.numKillMonster + this.kdaData.numKillSoldier).ToString();
         this.killMon.text    = this.kdaData.TotalCoin.ToString();
         this.assistNum.text  = this.kdaData.numAssist.ToString();
         int num = 0;
         for (int i = 0; i < 6; i++)
         {
             ushort equipID = this.kdaData.Equips[i].m_equipID;
             if (equipID != 0)
             {
                 CUICommonSystem.SetEquipIcon(equipID, this.equipList[num++].gameObject, Singleton <CBattleSystem> .instance.FormScript);
             }
         }
         for (int j = num; j < 6; j++)
         {
             this.equipList[j].gameObject.GetComponent <Image>().SetSprite(string.Format("{0}EquipmentSpace", CUIUtility.s_Sprite_Dynamic_Talent_Dir), Singleton <CBattleSystem> .instance.FormScript, true, false, false);
         }
         if (ownerPlayer == Singleton <GamePlayerCenter> .GetInstance().GetHostPlayer())
         {
             this.playerName.color = CUIUtility.s_Text_Color_Self;
             this.mineBg.CustomSetActive(true);
         }
         else
         {
             if (ownerPlayer.PlayerCamp == COM_PLAYERCAMP.COM_PLAYERCAMP_1)
             {
                 this.playerName.color = CUIUtility.s_Text_Color_Camp_1;
             }
             else
             {
                 this.playerName.color = CUIUtility.s_Text_Color_Camp_2;
             }
             this.mineBg.CustomSetActive(false);
         }
     }
 }
예제 #4
0
 public void SetEuipItems(ref COMDT_PLAYER_FIGHT_DATA playerData, CUIFormScript form)
 {
     if ((playerData != null) && (form != null))
     {
         for (int i = 0; i < 6; i++)
         {
             COMDT_INGAME_EQUIP_INFO comdt_ingame_equip_info = playerData.astEquipDetail[i];
             int   num2      = i + 1;
             Image component = this.equipObj.transform.FindChild(string.Format("TianFuIcon{0}", num2.ToString())).GetComponent <Image>();
             if ((comdt_ingame_equip_info.dwEquipID == 0) || (comdt_ingame_equip_info == null))
             {
                 component.gameObject.CustomSetActive(false);
             }
             else
             {
                 component.gameObject.CustomSetActive(true);
                 CUICommonSystem.SetEquipIcon((ushort)comdt_ingame_equip_info.dwEquipID, component.gameObject, form);
             }
         }
     }
 }
예제 #5
0
 public void SetEuipItems(ref COMDT_PLAYER_FIGHT_DATA playerData, CUIFormScript form)
 {
     if (playerData == null || form == null)
     {
         return;
     }
     for (int i = 0; i < 6; i++)
     {
         COMDT_INGAME_EQUIP_INFO cOMDT_INGAME_EQUIP_INFO = playerData.astEquipDetail[i];
         Image component = this.equipObj.transform.FindChild(string.Format("TianFuIcon{0}", (i + 1).ToString())).GetComponent <Image>();
         if (cOMDT_INGAME_EQUIP_INFO.dwEquipID == 0u || cOMDT_INGAME_EQUIP_INFO == null)
         {
             component.gameObject.CustomSetActive(false);
         }
         else
         {
             component.gameObject.CustomSetActive(true);
             CUICommonSystem.SetEquipIcon((ushort)cOMDT_INGAME_EQUIP_INFO.dwEquipID, component.gameObject, form);
         }
     }
 }
예제 #6
0
            public void Validate(HeroKDA kdaData)
            {
                if (kdaData != null)
                {
                    this.kdaData = kdaData;
                }
                if (this.kdaData == null)
                {
                    return;
                }
                this.icon.SetSprite(string.Format("{0}{1}", CUIUtility.s_Sprite_Dynamic_Icon_Dir, CSkinInfo.GetHeroSkinPic((uint)this.kdaData.HeroId, 0u)), Singleton <CBattleSystem> .get_instance().FormScript, true, false, false, false);
                Player ownerPlayer = ActorHelper.GetOwnerPlayer(ref this.kdaData.actorHero);

                this.playerName.text = ownerPlayer.Name;
                this.heroName.text   = this.kdaData.actorHero.get_handle().TheStaticData.TheResInfo.Name;
                this.level.text      = this.kdaData.actorHero.get_handle().ValueComponent.actorSoulLevel.ToString();
                this.killNum.text    = this.kdaData.numKill.ToString();
                this.deadNum.text    = this.kdaData.numDead.ToString();
                this.killMon.text    = (this.kdaData.numKillMonster + this.kdaData.numKillSoldier).ToString();
                this.killMon.text    = this.kdaData.TotalCoin.ToString();
                this.assistNum.text  = this.kdaData.numAssist.ToString();
                int num = 0;

                for (int i = 0; i < 6; i++)
                {
                    ushort equipID = this.kdaData.Equips[i].m_equipID;
                    if (equipID != 0)
                    {
                        CUICommonSystem.SetEquipIcon(equipID, this.equipList[num++].gameObject, Singleton <CBattleSystem> .get_instance().FormScript);
                    }
                }
                for (int j = num; j < 6; j++)
                {
                    this.equipList[j].gameObject.GetComponent <Image>().SetSprite(string.Format("{0}BattleSettle_EquipmentSpaceNew", CUIUtility.s_Sprite_Dynamic_Talent_Dir), Singleton <CBattleSystem> .get_instance().FormScript, true, false, false, false);
                }
                SLevelContext curLvelContext = Singleton <BattleLogic> .GetInstance().GetCurLvelContext();

                if (curLvelContext != null && curLvelContext.m_bEnableOrnamentSlot && curLvelContext.m_bEnableShopHorizonTab)
                {
                    ushort horizonEquipId = this.kdaData.actorHero.get_handle().EquipComponent.m_horizonEquipId;
                    if (horizonEquipId == 0)
                    {
                        this.horizonEquipImg.SetSprite(string.Format("{0}BattleSettle_EquipmentSpaceNew", CUIUtility.s_Sprite_Dynamic_Talent_Dir), Singleton <CBattleSystem> .get_instance().FormScript, true, false, false, false);
                    }
                    else
                    {
                        CUICommonSystem.SetEquipIcon(horizonEquipId, this.horizonEquipImg.gameObject, Singleton <CBattleSystem> .get_instance().FormScript);
                    }
                }
                if (ownerPlayer == Singleton <GamePlayerCenter> .GetInstance().GetHostPlayer())
                {
                    this.playerName.color = CUIUtility.s_Text_Color_Self;
                    this.mineBg.CustomSetActive(true);
                }
                else
                {
                    if (ownerPlayer.PlayerCamp == 1)
                    {
                        this.playerName.color = CUIUtility.s_Text_Color_Camp_1;
                    }
                    else
                    {
                        this.playerName.color = CUIUtility.s_Text_Color_Camp_2;
                    }
                    this.mineBg.CustomSetActive(false);
                }
            }
예제 #7
0
        public static void OnRankGodDetailTab(int tabIndex, COMDT_RANKING_LIST_ITEM_EXTRA_MASTER_HERO masterHeroInfo, uint heroId)
        {
            CUIFormScript form = Singleton <CUIManager> .instance.GetForm(RankingSystem.s_rankingGodDetailForm);

            if (form != null)
            {
                GameObject widget = form.GetWidget(0);
                if (widget != null)
                {
                    ResHeroCfgInfo dataByKey = GameDataMgr.heroDatabin.GetDataByKey(heroId);
                    if (dataByKey != null)
                    {
                        GameObject obj3   = Utility.FindChild(widget, "Panel_EquipInfo");
                        GameObject obj4   = Utility.FindChild(widget, "Panel_SymbolInfo");
                        string     str    = Utility.UTF8Convert(masterHeroInfo.stAcntInfo.szPlayerName);
                        string     szName = dataByKey.szName;
                        obj3.CustomSetActive(false);
                        obj4.CustomSetActive(false);
                        if (tabIndex == 0)
                        {
                            obj3.CustomSetActive(true);
                            CUIListScript componetInChild           = Utility.GetComponetInChild <CUIListScript>(obj3, "List");
                            int           bEquipNum                 = masterHeroInfo.stEquipList.bEquipNum;
                            ushort[]      defaultRecommendEquipInfo = new ushort[6];
                            if (bEquipNum > 0)
                            {
                                for (int j = 0; j < bEquipNum; j++)
                                {
                                    defaultRecommendEquipInfo[j] = (ushort)masterHeroInfo.stEquipList.EquipID[j];
                                }
                            }
                            else
                            {
                                defaultRecommendEquipInfo = Singleton <CEquipSystem> .instance.GetDefaultRecommendEquipInfo(heroId);

                                bEquipNum = defaultRecommendEquipInfo.Length;
                            }
                            componetInChild.SetElementAmount(bEquipNum);
                            for (int i = 0; i < bEquipNum; i++)
                            {
                                GameObject     gameObject = componetInChild.GetElemenet(i).gameObject;
                                CUIEventScript component  = gameObject.GetComponent <CUIEventScript>();
                                ushort         equipID    = defaultRecommendEquipInfo[i];
                                CEquipInfo     equipInfo  = Singleton <CEquipSystem> .instance.GetEquipInfo(equipID);

                                component.m_onClickEventParams.battleEquipPar.equipInfo = Singleton <CEquipSystem> .instance.GetEquipInfo(equipID);

                                component.m_onClickEventParams.tagStr  = str;
                                component.m_onClickEventParams.tagStr1 = szName;
                                CUICommonSystem.SetEquipIcon(equipID, gameObject, form);
                            }
                            if (bEquipNum > 0)
                            {
                                componetInChild.SelectElement(0, true);
                                componetInChild.GetElemenet(0).GetComponent <CUIEventScript>().OnPointerClick(null);
                                CUIEventScript script4 = componetInChild.GetElemenet(0).GetComponent <CUIEventScript>();
                                Singleton <CUIEventManager> .instance.DispatchUIEvent(script4.m_onClickEventID, script4.m_onClickEventParams);
                            }
                            else
                            {
                                componetInChild.SelectElement(-1, true);
                            }
                        }
                        else if (tabIndex == 1)
                        {
                            ListView <CSymbolItem> symbolList = new ListView <CSymbolItem>();
                            for (int k = 0; k < masterHeroInfo.stSymbolPageInfo.bSymbolPosNum; k++)
                            {
                                bool flag = false;
                                for (int n = 0; n < symbolList.Count; n++)
                                {
                                    if (symbolList[n].m_baseID == masterHeroInfo.stSymbolPageInfo.SymbolId[k])
                                    {
                                        CSymbolItem local1 = symbolList[n];
                                        local1.m_stackCount++;
                                        flag = true;
                                        break;
                                    }
                                }
                                if (!flag)
                                {
                                    CSymbolItem item = CUseableManager.CreateUseable(COM_ITEM_TYPE.COM_OBJTYPE_ITEMSYMBOL, masterHeroInfo.stSymbolPageInfo.SymbolId[k], 1) as CSymbolItem;
                                    symbolList.Add(item);
                                }
                            }
                            CSymbolWearController.SortSymbolList(ref symbolList);
                            obj4.CustomSetActive(true);
                            CUIListScript script5 = Utility.GetComponetInChild <CUIListScript>(obj4, "List");
                            script5.SetElementAmount(symbolList.Count);
                            int num7 = 0;
                            for (int m = 0; m < symbolList.Count; m++)
                            {
                                GameObject p = script5.GetElemenet(m).gameObject;
                                Utility.GetComponetInChild <Image>(p, "imgIcon").SetSprite(symbolList[m].GetIconPath(), form, true, false, false);
                                Utility.GetComponetInChild <Text>(p, "SymbolName").text = symbolList[m].m_name;
                                char[] trimChars = new char[] { '\n' };
                                Utility.GetComponetInChild <Text>(p, "SymbolDesc").text   = CSymbolSystem.GetSymbolAttString(symbolList[m], true).TrimEnd(trimChars);
                                Utility.GetComponetInChild <Text>(p, "lblIconCount").text = string.Format("x{0}", symbolList[m].m_stackCount);
                                num7 += symbolList[m].m_SymbolData.wLevel;
                            }
                            Utility.GetComponetInChild <Text>(obj4, "symbolPageLvlText").text = num7.ToString();
                            string[] args = new string[] { str, szName };
                            Utility.GetComponetInChild <Text>(obj4, "heroSymbolText").text = Singleton <CTextManager> .instance.GetText("RankGodHeroSymbolDesc", args);
                        }
                    }
                }
            }
        }
예제 #8
0
        public static void OnRankGodDetailTab(int tabIndex, COMDT_RANKING_LIST_ITEM_EXTRA_MASTER_HERO masterHeroInfo, uint heroId)
        {
            CUIFormScript form = Singleton <CUIManager> .get_instance().GetForm(RankingSystem.s_rankingGodDetailForm);

            if (form == null)
            {
                return;
            }
            GameObject widget = form.GetWidget(0);

            if (widget == null)
            {
                return;
            }
            ResHeroCfgInfo dataByKey = GameDataMgr.heroDatabin.GetDataByKey(heroId);

            if (dataByKey == null)
            {
                return;
            }
            GameObject gameObject  = Utility.FindChild(widget, "Panel_EquipInfo");
            GameObject gameObject2 = Utility.FindChild(widget, "Panel_SymbolInfo");
            string     text        = Utility.UTF8Convert(masterHeroInfo.stAcntInfo.szPlayerName);
            string     szName      = dataByKey.szName;

            gameObject.CustomSetActive(false);
            gameObject2.CustomSetActive(false);
            if (tabIndex == 0)
            {
                gameObject.CustomSetActive(true);
                CUIListScript componetInChild = Utility.GetComponetInChild <CUIListScript>(gameObject, "List");
                int           num             = (int)masterHeroInfo.stEquipList.bEquipNum;
                ushort[]      array           = new ushort[6];
                if (num > 0)
                {
                    for (int i = 0; i < num; i++)
                    {
                        array[i] = (ushort)masterHeroInfo.stEquipList.EquipID[i];
                    }
                }
                else
                {
                    ResRecommendEquipInBattle defaultRecommendEquipInfo = Singleton <CEquipSystem> .get_instance().GetDefaultRecommendEquipInfo(heroId, 1u);

                    if (defaultRecommendEquipInfo != null)
                    {
                        array = defaultRecommendEquipInfo.RecommendEquipID;
                    }
                    num = array.Length;
                }
                componetInChild.SetElementAmount(num);
                for (int j = 0; j < num; j++)
                {
                    GameObject     gameObject3 = componetInChild.GetElemenet(j).gameObject;
                    CUIEventScript component   = gameObject3.GetComponent <CUIEventScript>();
                    ushort         num2        = array[j];
                    CEquipInfo     equipInfo   = CEquipSystem.GetEquipInfo(num2);
                    component.m_onClickEventParams.battleEquipPar.equipInfo = CEquipSystem.GetEquipInfo(num2);
                    component.m_onClickEventParams.tagStr  = text;
                    component.m_onClickEventParams.tagStr1 = szName;
                    CUICommonSystem.SetEquipIcon(num2, gameObject3, form);
                }
                if (num > 0)
                {
                    componetInChild.SelectElement(0, true);
                    componetInChild.GetElemenet(0).GetComponent <CUIEventScript>().OnPointerClick(null);
                    CUIEventScript component2 = componetInChild.GetElemenet(0).GetComponent <CUIEventScript>();
                    Singleton <CUIEventManager> .get_instance().DispatchUIEvent(component2.m_onClickEventID, component2.m_onClickEventParams);
                }
                else
                {
                    componetInChild.SelectElement(-1, true);
                }
            }
            else if (tabIndex == 1)
            {
                ListView <CSymbolItem> listView = new ListView <CSymbolItem>();
                for (int k = 0; k < (int)masterHeroInfo.stSymbolPageInfo.bSymbolPosNum; k++)
                {
                    bool flag = false;
                    for (int l = 0; l < listView.get_Count(); l++)
                    {
                        if (listView.get_Item(l).m_baseID == masterHeroInfo.stSymbolPageInfo.SymbolId[k])
                        {
                            listView.get_Item(l).m_stackCount++;
                            flag = true;
                            break;
                        }
                    }
                    if (!flag)
                    {
                        CSymbolItem cSymbolItem = CUseableManager.CreateUseable(5, masterHeroInfo.stSymbolPageInfo.SymbolId[k], 1) as CSymbolItem;
                        listView.Add(cSymbolItem);
                    }
                }
                CSymbolWearController.SortSymbolList(ref listView);
                gameObject2.CustomSetActive(true);
                CUIListScript componetInChild2 = Utility.GetComponetInChild <CUIListScript>(gameObject2, "List");
                componetInChild2.SetElementAmount(listView.get_Count());
                int num3 = 0;
                for (int m = 0; m < listView.get_Count(); m++)
                {
                    GameObject gameObject4      = componetInChild2.GetElemenet(m).gameObject;
                    Image      componetInChild3 = Utility.GetComponetInChild <Image>(gameObject4, "imgIcon");
                    componetInChild3.SetSprite(listView.get_Item(m).GetIconPath(), form, true, false, false, false);
                    Text componetInChild4 = Utility.GetComponetInChild <Text>(gameObject4, "SymbolName");
                    componetInChild4.text = listView.get_Item(m).m_name;
                    Text componetInChild5 = Utility.GetComponetInChild <Text>(gameObject4, "SymbolDesc");
                    componetInChild5.text = CSymbolSystem.GetSymbolAttString(listView.get_Item(m), true).TrimEnd(new char[]
                    {
                        '\n'
                    });
                    Text componetInChild6 = Utility.GetComponetInChild <Text>(gameObject4, "lblIconCount");
                    componetInChild6.text = string.Format("x{0}", listView.get_Item(m).m_stackCount);
                    num3 += (int)listView.get_Item(m).m_SymbolData.wLevel *listView.get_Item(m).m_stackCount;
                }
                Utility.GetComponetInChild <Text>(gameObject2, "symbolPageLvlText").text = num3.ToString();
                Utility.GetComponetInChild <Text>(gameObject2, "heroSymbolText").text    = Singleton <CTextManager> .get_instance().GetText("RankGodHeroSymbolDesc", new string[]
                {
                    text,
                    szName
                });
            }
        }