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 int CompareGradePoint(COLOSSEUM_MYGRADE_USERINFO a, COLOSSEUM_MYGRADE_USERINFO b)
 {
     if (a.i32ColosseumGradePoint > b.i32ColosseumGradePoint)
     {
         return(-1);
     }
     return(1);
 }
 public void AddMyGrade_UserInfo(COLOSSEUM_MYGRADE_USERINFO info)
 {
     this.m_Colosseum_MyGrade_UserList.Add(info);
 }