示例#1
0
        private int GetQuestCount(ReplayCategoryList.ReplayCategoryType type)
        {
            int index = (int)type;

            try
            {
                return(this.QuestCount[index]);
            }
            catch (Exception ex)
            {
                DebugUtility.LogException(ex);
                return(0);
            }
        }
示例#2
0
        private void AddQuestCount(ReplayCategoryList.ReplayCategoryType type)
        {
            int num = (int)type;

            try
            {
                List <int> questCount;
                int        index;
                (questCount = this.QuestCount)[index = num] = questCount[index] + 1;
            }
            catch (Exception ex)
            {
                DebugUtility.LogException(ex);
            }
        }