public NewListItem SetColosseumListInfo(COLOSSEUM_MYGRADE_USERINFO info, int Rank)
    {
        string       text        = string.Empty;
        string       text2       = string.Empty;
        NrMyCharInfo kMyCharInfo = NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo;
        List <COLOSSEUM_MYGRADE_USERINFO> list = kMyCharInfo.GeColosseumMyGradeUserList();
        NewListItem newListItem = new NewListItem(this.m_lbMyRankList.ColumnNum, true, string.Empty);
        string      text3       = TKString.NEWString(info.szCharName);

        newListItem.SetListItemData(0, text3, null, null, null);
        text2 = Rank.ToString();
        newListItem.SetListItemData(2, text2, null, null, null);
        text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("2091");

        NrTSingleton <CTextParser> .Instance.ReplaceParam(ref text2, new object[]
        {
            text,
            "ratingpoint",
            1000 + info.i32ColosseumGradePoint
        });

        newListItem.SetListItemData(3, text2, null, null, null);
        int  value  = COLOSSEUM_CONSTANT_Manager.GetInstance().GetValue(eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_UPGRADE_RATE);
        int  value2 = COLOSSEUM_CONSTANT_Manager.GetInstance().GetValue(eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_DOWNGRADE_RATE);
        int  num    = 0;
        bool flag   = true;
        int  num2   = 0;
        bool flag2  = true;

        if (list.Count > 0)
        {
            num  = list.Count * value / 100;
            num2 = list.Count - list.Count * value2 / 100;
        }
        if (kMyCharInfo.ColosseumGrade == 5)
        {
            flag  = false;
            flag2 = false;
        }
        else if (kMyCharInfo.ColosseumGrade == 4)
        {
            flag2 = false;
        }
        string text4 = string.Empty;

        if (num >= Rank && flag)
        {
            text4 = "Win_I_ArrowUp";
        }
        else if (num2 < Rank && flag2)
        {
            text4 = "Win_I_ArrowDown";
        }
        if (text4 != string.Empty)
        {
            newListItem.SetListItemData(4, text4, null, null, null);
        }
        return(newListItem);
    }
    public void ShowMyGradeList()
    {
        NrMyCharInfo     kMyCharInfo    = NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo;
        NrPersonInfoUser charPersonInfo = NrTSingleton <NkCharManager> .Instance.GetCharPersonInfo(1);

        this.m_lbMyRankList.Clear();
        if (kMyCharInfo.ColosseumGrade == 0)
        {
            this.m_dtBronzeExplain.Visible  = true;
            this.m_laBronzeExplain1.Visible = true;
            this.m_laBronzeExplain2.Visible = true;
            this.m_laBronzeWinCount.Visible = true;
            string text  = string.Empty;
            string empty = string.Empty;
            text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("2208");

            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref empty, new object[]
            {
                text,
                "count1",
                kMyCharInfo.ColosseumWinCount,
                "count2",
                COLOSSEUM_CONSTANT_Manager.GetInstance().GetValue(eCOLOSSEUM_CONSTANT.eCOLOSSEUM_CONSTANT_BRONZE_UPGRADE_WINCOUNT)
            });

            this.m_laBronzeWinCount.SetText(empty);
        }
        else
        {
            List <COLOSSEUM_MYGRADE_USERINFO> list = kMyCharInfo.GeColosseumMyGradeUserList();
            if (list == null)
            {
                return;
            }
            int num = 1;
            foreach (COLOSSEUM_MYGRADE_USERINFO current in list)
            {
                NewListItem item;
                if (kMyCharInfo.GetColosseumMyGradeRank() == num)
                {
                    item = this.SetColosseumListInfo(new COLOSSEUM_MYGRADE_USERINFO
                    {
                        i64PersonID            = charPersonInfo.GetPersonID(),
                        szCharName             = TKString.StringChar(charPersonInfo.GetCharName()),
                        i32ColosseumGradePoint = kMyCharInfo.ColosseumGradePoint
                    }, num);
                }
                else
                {
                    item = this.SetColosseumListInfo(current, num);
                }
                this.m_lbMyRankList.Add(item);
                num++;
            }
            this.m_lbMyRankList.RepositionItems();
        }
    }