public static ChapterData GetChapterDataContainsDungeon(int dungeonID) { ChapterData chapterData = null; DungeonIDChapterDataDic.TryGetValue(dungeonID, out chapterData); return(chapterData); }
public ChapterInfo(int chapterId) { this.chapterId = chapterId; chapterData = ChapterData.GetChapterDataById(chapterId); }