Example #1
0
    public bool IsDayQuest()
    {
        CQuestGroup questGroupByGroupUnique = NrTSingleton <NkQuestManager> .Instance.GetQuestGroupByGroupUnique(this.m_QuestCommon.nQuestGroupUnique);

        return(questGroupByGroupUnique != null && questGroupByGroupUnique.GetQuestType() == 100);
    }
    public void SetQuestInfo(CQuest kQuest)
    {
        this.m_Quest       = kQuest;
        this.m_eQuestState = NrTSingleton <NkQuestManager> .Instance.GetQuestState(this.m_Quest.GetQuestUnique());

        if (this.m_eQuestState == QUEST_CONST.eQUESTSTATE.QUESTSTATE_ACCEPTABLE)
        {
            this.m_Quest_Info_Cancel.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("1162");
        }
        else if (this.m_eQuestState == QUEST_CONST.eQUESTSTATE.QUESTSTATE_ONGOING || this.m_eQuestState == QUEST_CONST.eQUESTSTATE.QUESTSTATE_COMPLETE)
        {
            this.m_Quest_Info_Cancel.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("799");
        }
        else
        {
            this.m_Quest_Info_Cancel.Text = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("10");
        }
        CQuestGroup questGroupByQuestUnique = NrTSingleton <NkQuestManager> .Instance.GetQuestGroupByQuestUnique(this.m_Quest.GetQuestUnique());

        short chapterUnique = NrTSingleton <NkQuestManager> .Instance.GetChapterUnique(this.m_Quest.GetQuestUnique());

        string text = "None";

        if (questGroupByQuestUnique != null)
        {
            text = questGroupByQuestUnique.GetPage();
        }
        string textFromInterface = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("666");

        string textFromInterface2 = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("667");

        string text2 = string.Concat(new object[]
        {
            this.str1101,
            chapterUnique,
            textFromInterface2,
            " ",
            text,
            textFromInterface,
            ". ",
            this.str1107,
            kQuest.GetQuestTitle()
        });

        if (questGroupByQuestUnique.GetQuestType() == 2)
        {
            text2 = string.Concat(new string[]
            {
                this.str1101,
                NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("1454"),
                ". ",
                this.str1107,
                kQuest.GetQuestTitle()
            });
        }
        else if (questGroupByQuestUnique.GetQuestType() == 100)
        {
            text2 = string.Concat(new string[]
            {
                this.str1101,
                NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("784"),
                ". ",
                this.str1107,
                kQuest.GetQuestTitle()
            });
        }
        this.m_Quest_Info_Chapter_Page_Quest_Title.SetText(text2);
        text2 = string.Empty;
        this.m_Quest_Info_Summary.Clear();
        ListItem listItem = new ListItem();

        if (this.m_eQuestState <= QUEST_CONST.eQUESTSTATE.QUESTSTATE_ACCEPTABLE)
        {
            text2 = NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("1202");

            this.m_Quest_Info_Summary.SetColumnAlignment(0, SpriteText.Anchor_Pos.Middle_Center);
            this.m_Quest_Info_Description_BG2.SetAlpha(0.7f);
            this.m_Quest_Info_Description_BG1.SetAlpha(0.7f);
        }
        else
        {
            text2 = this.m_Quest.GetQuestSummary();
            this.m_Quest_Info_Summary.SetColumnAlignment(0, SpriteText.Anchor_Pos.Middle_Left);
            this.m_Quest_Info_Description_BG2.SetAlpha(1f);
            this.m_Quest_Info_Description_BG1.SetAlpha(1f);
        }
        listItem.SetColumnStr(0, text2);
        this.m_Quest_Info_Summary.Add(listItem);
        this.m_Quest_Info_Summary.RepositionItems();
        text2 = string.Empty;
        if (this.m_Quest.GetQuestCommon().cQuestCondition[0] != null)
        {
            text2 = this.m_Quest.GetConditionText(0L, 0);
            this.m_Quest_Info_Condition_Hint01.SetText(this.str1201 + text2);
        }
        if (this.m_Quest.GetQuestCommon().cQuestCondition[1] != null)
        {
            text2 = this.m_Quest.GetConditionText(0L, 1);
            this.m_Quest_Info_Condition_Hint02.SetText(this.str1201 + text2);
        }
        if (this.m_Quest.GetQuestCommon().cQuestCondition[2] != null)
        {
            text2 = this.m_Quest.GetConditionText(0L, 2);
            this.m_Quest_Info_Condition_Hint03.SetText(this.str1201 + text2);
        }
        if (this.m_eQuestState <= QUEST_CONST.eQUESTSTATE.QUESTSTATE_ACCEPTABLE)
        {
            this.m_Quest_Info_Condition_Hint01.SetText(string.Empty);
            this.m_Quest_Info_Condition_Hint02.SetText(string.Empty);
            this.m_Quest_Info_Condition_Hint03.SetText(string.Empty);
        }
        this.SetGrade();
        this.SetReward();
    }
    public void QuestUpdate()
    {
        this.m_kQuestList.Clear();
        List <USER_CURRENT_QUEST_INFO> list = new List <USER_CURRENT_QUEST_INFO>();

        foreach (USER_CURRENT_QUEST_INFO current in NrTSingleton <NkQuestManager> .Instance.GetMainlist())
        {
            list.Add(current);
        }
        foreach (USER_CURRENT_QUEST_INFO current2 in NrTSingleton <NkQuestManager> .Instance.GetSublist())
        {
            list.Add(current2);
        }
        float num  = 0f;
        int   num2 = 0;

        foreach (USER_CURRENT_QUEST_INFO current3 in list)
        {
            if (!(current3.strQuestUnique == string.Empty))
            {
                string strQuestUnique = current3.strQuestUnique;
                if (strQuestUnique != string.Empty)
                {
                    CQuestGroup questGroupByQuestUnique = NrTSingleton <NkQuestManager> .Instance.GetQuestGroupByQuestUnique(strQuestUnique);

                    if (questGroupByQuestUnique != null)
                    {
                        CQuest questByQuestUnique = NrTSingleton <NkQuestManager> .Instance.GetQuestByQuestUnique(strQuestUnique);

                        if (questByQuestUnique != null)
                        {
                            float num3 = 80f;
                            int   num4 = 0;
                            for (int i = 0; i < 3; i++)
                            {
                                if (0 < questByQuestUnique.GetQuestCommon().cQuestCondition[i].i32QuestCode)
                                {
                                    num4++;
                                }
                            }
                            if (num4 == 1)
                            {
                                this.m_kQuestList.SetColumnData("Mobile/DLG/Main/nlb_questlist_columndata" + NrTSingleton <UIDataManager> .Instance.AddFilePath);
                            }
                            else if (num4 == 2)
                            {
                                this.m_kQuestList.SetColumnData("Mobile/DLG/Main/nlb_questlist2_columndata" + NrTSingleton <UIDataManager> .Instance.AddFilePath);
                                num3 = 120f;
                            }
                            else if (num4 == 3)
                            {
                                this.m_kQuestList.SetColumnData("Mobile/DLG/Main/nlb_questlist3_columndata" + NrTSingleton <UIDataManager> .Instance.AddFilePath);
                                num3 = 160f;
                            }
                            num += num3;
                            this.m_kQuestList.LineHeight = num3;
                            NewListItem newListItem = new NewListItem(this.m_kQuestList.ColumnNum, true, string.Empty);
                            this.ShowTouchButton(questByQuestUnique);
                            string   text  = string.Empty;
                            string[] array = new string[3];
                            text = questByQuestUnique.GetGiveQuestNpcName();
                            if (!(text != string.Empty))
                            {
                                string msg = string.Format("Quest Give Npc Name == Blank, unique = {0}, charcode = {1}", questByQuestUnique.GetQuestUnique(), questByQuestUnique.GetQuestCommon().i32QuestCharKind);
                                NrTSingleton <NrMainSystem> .Instance.Alert(msg);

                                return;
                            }
                            CSelQuestInfo cSelQuestInfo = new CSelQuestInfo();
                            cSelQuestInfo.m_bComplete          = true;
                            cSelQuestInfo.m_SeldQuestCondition = questByQuestUnique.GetQuestCommon().cQuestCondition[0];
                            cSelQuestInfo.m_SelQuest           = questByQuestUnique;
                            cSelQuestInfo.bType = 0;
                            CQuestGroup questGroupByQuestUnique2 = NrTSingleton <NkQuestManager> .Instance.GetQuestGroupByQuestUnique(questByQuestUnique.GetQuestUnique());

                            if (questGroupByQuestUnique2 != null)
                            {
                                if (NrTSingleton <NkQuestManager> .Instance.GetToggleQuestUnique())
                                {
                                    text = NrTSingleton <UIDataManager> .Instance.GetString(this.m_ColorTitle, questByQuestUnique.GetQuestTitle(), "(", questByQuestUnique.GetQuestUnique().ToString(), ")");
                                }
                                else
                                {
                                    text = NrTSingleton <UIDataManager> .Instance.GetString(this.m_ColorTitle, questByQuestUnique.GetQuestTitle());
                                }
                                newListItem.SetListItemData(3, text, cSelQuestInfo, null, null);
                            }
                            for (int j = 0; j < 3; j++)
                            {
                                if (0 < questByQuestUnique.GetQuestCommon().cQuestCondition[j].i32QuestCode)
                                {
                                    array[j] = questByQuestUnique.GetConditionText(current3.i64ParamVal[j], j);
                                    if (string.Empty != array[j])
                                    {
                                        string conditionText = questByQuestUnique.GetConditionText(current3.i64ParamVal[j], j);
                                        string empty         = string.Empty;
                                        bool   bTitle        = NrTSingleton <CTextParser> .Instance.ChangeQuestConditionText(conditionText, out empty);

                                        if (NrTSingleton <NkQuestManager> .Instance.GetToggleQuestUnique())
                                        {
                                            array[j] = string.Concat(new object[]
                                            {
                                                empty,
                                                "(",
                                                questByQuestUnique.GetQuestCommon().cQuestCondition[j].i32QuestCode,
                                                ")"
                                            });
                                        }
                                        else
                                        {
                                            array[j] = empty;
                                        }
                                        CSelQuestInfo cSelQuestInfo2 = new CSelQuestInfo();
                                        int           index          = 5;
                                        if (j == 0)
                                        {
                                            index = 5;
                                        }
                                        else if (j == 1)
                                        {
                                            index = 10;
                                        }
                                        else if (j == 2)
                                        {
                                            index = 13;
                                        }
                                        if (questByQuestUnique.CheckCondition(questByQuestUnique.GetQuestCommon().cQuestCondition[j].i64Param, ref current3.i64ParamVal[j], j) && current3.bFailed == 0)
                                        {
                                            cSelQuestInfo2.m_bComplete          = true;
                                            cSelQuestInfo2.m_SeldQuestCondition = questByQuestUnique.GetQuestCommon().cQuestCondition[j];
                                            cSelQuestInfo2.m_SelQuest           = questByQuestUnique;
                                            cSelQuestInfo2.bType  = 1;
                                            cSelQuestInfo2.bTitle = bTitle;
                                            cSelQuestInfo2.strCon = conditionText;
                                            newListItem.SetListItemData(index, this.m_ColorComplte + array[j], cSelQuestInfo2, null, null);
                                        }
                                        else
                                        {
                                            cSelQuestInfo2.m_bComplete          = false;
                                            cSelQuestInfo2.m_SeldQuestCondition = questByQuestUnique.GetQuestCommon().cQuestCondition[j];
                                            cSelQuestInfo2.m_SelQuest           = questByQuestUnique;
                                            cSelQuestInfo2.bType  = 1;
                                            cSelQuestInfo2.bTitle = bTitle;
                                            cSelQuestInfo2.strCon = conditionText;
                                            newListItem.SetListItemData(index, this.m_ColorNormal + array[j], cSelQuestInfo2, null, null);
                                        }
                                    }
                                }
                            }
                            if (questGroupByQuestUnique.GetQuestType() == 2)
                            {
                                newListItem.SetListItemData(7, string.Empty, questByQuestUnique, new EZValueChangedDelegate(this.ClickCancelQuest), null);
                            }
                            else
                            {
                                newListItem.SetListItemData(6, false);
                                newListItem.SetListItemData(7, false);
                            }
                            newListItem.Data = strQuestUnique;
                            this.m_kQuestList.Add(newListItem);
                            if (0 < num2)
                            {
                                num += this.m_kQuestList.itemSpacing;
                            }
                            num2++;
                        }
                    }
                }
            }
        }
        NrMyCharInfo kMyCharInfo = NrTSingleton <NkCharManager> .Instance.m_kMyCharInfo;

        if (kMyCharInfo != null)
        {
            ChallengeTable sequenceChallengeTable = NrTSingleton <ChallengeManager> .Instance.GetSequenceChallengeTable();

            if (sequenceChallengeTable != null && (int)sequenceChallengeTable.m_nLevel <= kMyCharInfo.GetLevel())
            {
                UserChallengeInfo userChallengeInfo = kMyCharInfo.GetUserChallengeInfo();
                if (userChallengeInfo != null && userChallengeInfo.GetLoadData())
                {
                    Challenge_Info userChallengeInfo2 = userChallengeInfo.GetUserChallengeInfo(sequenceChallengeTable.m_nUnique);
                    num += 80f;
                    this.m_kQuestList.LineHeight = 80f;
                    NewListItem newListItem2 = new NewListItem(this.m_kQuestList.ColumnNum, true, string.Empty);
                    newListItem2.SetListItemData(0, "Win_T_QuestTitleBK2", null, null, null);
                    newListItem2.SetListItemData(2, "Win_I_QuestMark02", null, null, null);
                    newListItem2.SetListItemData(3, this.m_ColorTitle + NrTSingleton <NrTextMgr> .Instance.GetTextFromChallenge(sequenceChallengeTable.m_szTitleTextKey), null, null, null);
                    string str = string.Empty;
                    string textFromChallenge = NrTSingleton <NrTextMgr> .Instance.GetTextFromChallenge(sequenceChallengeTable.m_kRewardInfo[0].m_szConditionTextKey);

                    if (textFromChallenge.Contains("count"))
                    {
                        if (userChallengeInfo2 == null)
                        {
                            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref str, new object[]
                            {
                                textFromChallenge,
                                "count",
                                sequenceChallengeTable.m_kRewardInfo[0].m_nConditionCount,
                                "count1",
                                0,
                                "count2",
                                sequenceChallengeTable.m_kRewardInfo[0].m_nConditionCount
                            });

                            newListItem2.SetListItemData(5, this.m_ColorNormal + str, null, null, null);
                        }
                        else if (userChallengeInfo2.m_nValue >= (long)sequenceChallengeTable.m_kRewardInfo[0].m_nConditionCount)
                        {
                            NrTSingleton <CTextParser> .Instance.ReplaceParam(ref str, new object[]
                            {
                                textFromChallenge,
                                "count",
                                sequenceChallengeTable.m_kRewardInfo[0].m_nConditionCount,
                                "count1",
                                userChallengeInfo2.m_nValue,
                                "count2",
                                sequenceChallengeTable.m_kRewardInfo[0].m_nConditionCount
                            });

                            newListItem2.SetListItemData(5, this.m_ColorComplte + str, null, null, null);
                        }
                    }
                    else
                    {
                        str = textFromChallenge;
                        if (userChallengeInfo2 == null)
                        {
                            newListItem2.SetListItemData(5, this.m_ColorNormal + str, null, null, null);
                        }
                        else if (userChallengeInfo2.m_nValue >= (long)sequenceChallengeTable.m_kRewardInfo[0].m_nConditionCount)
                        {
                            newListItem2.SetListItemData(5, this.m_ColorComplte + str, null, null, null);
                        }
                        else
                        {
                            newListItem2.SetListItemData(5, this.m_ColorNormal + str, null, null, null);
                        }
                    }
                    newListItem2.SetListItemData(6, false);
                    newListItem2.SetListItemData(7, false);
                    newListItem2.Data = sequenceChallengeTable.m_nUnique.ToString() + this.m_ChallengeUniqueDistinguish;
                    this.m_kQuestList.Add(newListItem2);
                }
            }
        }
        base.SetSize(base.GetSizeX(), num);
        this.m_kQuestList.ResizeViewableArea(this.m_kQuestList.GetSize().x, num);
        NrTSingleton <NkQuestManager> .Instance.UpdateClientNpc(0);
    }
Example #4
0
 public void SetOnGoing()
 {
     this.SetOngoingRootNode();
     List<QuestList_DLG.GRADE_TEMP> list = new List<QuestList_DLG.GRADE_TEMP>();
     List<QuestList_DLG.GRADE_TEMP> list2 = new List<QuestList_DLG.GRADE_TEMP>();
     USER_CURRENT_QUEST_INFO[] userCurrentQuestInfo = NrTSingleton<NkQuestManager>.Instance.GetUserCurrentQuestInfo();
     for (byte b = 0; b < 10; b += 1)
     {
         if (userCurrentQuestInfo[(int)b].strQuestUnique != null)
         {
             string strQuestUnique = userCurrentQuestInfo[(int)b].strQuestUnique;
             if (strQuestUnique != string.Empty)
             {
                 CQuest questByQuestUnique = NrTSingleton<NkQuestManager>.Instance.GetQuestByQuestUnique(strQuestUnique);
                 if (questByQuestUnique != null)
                 {
                     CQuestGroup questGroupByQuestUnique = NrTSingleton<NkQuestManager>.Instance.GetQuestGroupByQuestUnique(strQuestUnique);
                     if (questGroupByQuestUnique != null)
                     {
                         QuestList_DLG.GRADE_TEMP gRADE_TEMP = new QuestList_DLG.GRADE_TEMP();
                         gRADE_TEMP.kQuest = questByQuestUnique;
                         gRADE_TEMP.i32Grade = userCurrentQuestInfo[(int)b].i32Grade;
                         if (this.m_CurQuestType == (QUEST_CONST.E_QUEST_TYPE)questGroupByQuestUnique.GetQuestType())
                         {
                             list.Add(gRADE_TEMP);
                         }
                         else
                         {
                             list2.Add(gRADE_TEMP);
                         }
                     }
                 }
             }
         }
     }
     list.Sort(new Comparison<QuestList_DLG.GRADE_TEMP>(QuestList_DLG.AscendingQuest));
     list2.Sort(new Comparison<QuestList_DLG.GRADE_TEMP>(QuestList_DLG.AscendingQuest));
     foreach (QuestList_DLG.GRADE_TEMP current in list)
     {
         TREE_TYPE tREE_TYPE = new TREE_TYPE();
         tREE_TYPE.bType = 1;
         tREE_TYPE.bData = current.kQuest;
         this.m_OngoingNode.AddChild(1, this.m_str1202 + current.kQuest.GetQuestTitle(), this.m_str1202 + current.kQuest.GetQuestCommon().i16RequireLevel[current.i32Grade].ToString(), this.m_str1202 + current.kQuest.GetQuestNpcName(), tREE_TYPE, "Bat_I_Minimap1");
     }
     foreach (QuestList_DLG.GRADE_TEMP current2 in list2)
     {
         TREE_TYPE tREE_TYPE2 = new TREE_TYPE();
         tREE_TYPE2.bType = 1;
         tREE_TYPE2.bData = current2.kQuest;
         this.m_OngoingNode.AddChild(1, this.m_str1202 + current2.kQuest.GetQuestTitle(), this.m_str1202 + current2.kQuest.GetQuestCommon().i16RequireLevel[current2.i32Grade].ToString(), this.m_str1202 + current2.kQuest.GetQuestNpcName(), tREE_TYPE2);
     }
     list.Clear();
     list2.Clear();
     foreach (CQuest current3 in this.m_QuestList)
     {
         if (NrTSingleton<NkQuestManager>.Instance.GetQuestState(current3.GetQuestUnique()) == QUEST_CONST.eQUESTSTATE.QUESTSTATE_ACCEPTABLE)
         {
             CQuestGroup questGroupByQuestUnique2 = NrTSingleton<NkQuestManager>.Instance.GetQuestGroupByQuestUnique(current3.GetQuestUnique());
             if (questGroupByQuestUnique2 != null)
             {
                 if (questGroupByQuestUnique2.GetQuestType() != 100)
                 {
                     QuestList_DLG.GRADE_TEMP gRADE_TEMP2 = new QuestList_DLG.GRADE_TEMP();
                     gRADE_TEMP2.kQuest = current3;
                     USER_QUEST_COMPLETE_INFO completeQuestInfo = NrTSingleton<NkQuestManager>.Instance.GetCompleteQuestInfo(questGroupByQuestUnique2.GetGroupUnique());
                     if (completeQuestInfo != null)
                     {
                         gRADE_TEMP2.i32Grade = (int)completeQuestInfo.bCurrentGrade;
                     }
                     else
                     {
                         gRADE_TEMP2.i32Grade = 1;
                     }
                     if (this.m_CurQuestType == (QUEST_CONST.E_QUEST_TYPE)questGroupByQuestUnique2.GetQuestType())
                     {
                         list.Add(gRADE_TEMP2);
                     }
                     else
                     {
                         list2.Add(gRADE_TEMP2);
                     }
                 }
             }
         }
     }
     list.Sort(new Comparison<QuestList_DLG.GRADE_TEMP>(QuestList_DLG.AscendingQuest));
     list2.Sort(new Comparison<QuestList_DLG.GRADE_TEMP>(QuestList_DLG.AscendingQuest));
     foreach (QuestList_DLG.GRADE_TEMP current4 in list)
     {
         TREE_TYPE tREE_TYPE3 = new TREE_TYPE();
         tREE_TYPE3.bType = 1;
         tREE_TYPE3.bData = current4.kQuest;
         this.m_AcceptableNode.AddChild(1, this.m_str1202 + current4.kQuest.GetQuestTitle(), this.m_str1202 + current4.kQuest.GetQuestCommon().i16RequireLevel[current4.i32Grade - 1].ToString(), this.m_str1202 + current4.kQuest.GetQuestNpcName(), tREE_TYPE3, "Bat_I_Minimap1");
     }
     foreach (QuestList_DLG.GRADE_TEMP current5 in list2)
     {
         TREE_TYPE tREE_TYPE4 = new TREE_TYPE();
         tREE_TYPE4.bType = 1;
         tREE_TYPE4.bData = current5.kQuest;
         this.m_AcceptableNode.AddChild(1, this.m_str1202 + current5.kQuest.GetQuestTitle(), this.m_str1202 + current5.kQuest.GetQuestCommon().i16RequireLevel[current5.i32Grade - 1].ToString(), this.m_str1202 + current5.kQuest.GetQuestNpcName(), tREE_TYPE4);
     }
     foreach (CQuest current6 in this.m_QuestList)
     {
         if (NrTSingleton<NkQuestManager>.Instance.GetQuestState(current6.GetQuestUnique()) == QUEST_CONST.eQUESTSTATE.QUESTSTATE_ACCEPTABLE)
         {
             CQuestGroup questGroupByQuestUnique3 = NrTSingleton<NkQuestManager>.Instance.GetQuestGroupByQuestUnique(current6.GetQuestUnique());
             if (questGroupByQuestUnique3 != null)
             {
                 if (questGroupByQuestUnique3.GetQuestType() == 100)
                 {
                     QuestList_DLG.GRADE_TEMP gRADE_TEMP3 = new QuestList_DLG.GRADE_TEMP();
                     gRADE_TEMP3.kQuest = current6;
                     USER_QUEST_COMPLETE_INFO completeQuestInfo2 = NrTSingleton<NkQuestManager>.Instance.GetCompleteQuestInfo(questGroupByQuestUnique3.GetGroupUnique());
                     if (completeQuestInfo2 != null)
                     {
                         gRADE_TEMP3.i32Grade = (int)completeQuestInfo2.bCurrentGrade;
                     }
                     else
                     {
                         gRADE_TEMP3.i32Grade = 1;
                     }
                     TREE_TYPE tREE_TYPE5 = new TREE_TYPE();
                     tREE_TYPE5.bType = 1;
                     tREE_TYPE5.bData = current6;
                     this.m_DayQuestNode.AddChild(1, this.m_str1202 + current6.GetQuestTitle(), this.m_str1202 + current6.GetQuestCommon().i16RequireLevel[gRADE_TEMP3.i32Grade].ToString(), this.m_str1202 + current6.GetQuestNpcName(), tREE_TYPE5);
                 }
             }
         }
     }
     this.m_Quest_Info_List_TreeView.RepositionItems();
 }