Ejemplo n.º 1
0
        public int GetTotalStarCountOfChapterOfDungeonType(DungeonType dungeonType, int chapterID)
        {
            ChapterData chapterData   = ChapterData.GetChapterDataById(chapterID);
            List <int>  dungeonIDList = chapterData.GetChapterDungeonIDListOfDungeonType(dungeonType);

            return(dungeonIDList.Count * 3);
        }
Ejemplo n.º 2
0
        public int GetPlayerGainStarCountOfChapterOfDungeonType(DungeonType dungeonType, int chapterID)
        {
            int         playerGainStarCountOfChpaterOfDungeonType = 0;
            ChapterData chapterData   = ChapterData.GetChapterDataById(chapterID);
            List <int>  dungeonIDList = chapterData.GetChapterDungeonIDListOfDungeonType(dungeonType);
            DungeonInfo dungeonInfo   = null;

            for (int i = 0; i < dungeonIDList.Count; i++)
            {
                playerGainStarCountOfChpaterOfDungeonType += GetDungeonInfo(dungeonIDList[i]).star;
            }
            return(playerGainStarCountOfChpaterOfDungeonType);
        }