예제 #1
0
        public static DungeonStarData GetDungeonStarData(int id)
        {
            DungeonStarData dungeonStarData = null;

            DungeonStarDataDictionary.TryGetValue(id, out dungeonStarData);
            return(dungeonStarData);
        }
예제 #2
0
        public static DungeonStarData GetDungeonStarData(DungeonType dungeonType, int chapterID, int chestPosition)
        {
            DungeonStarData dungeonStarData = null;
            string          compositeKey    = string.Format(COMPOSITE_KEY_TEMPLATE_STRING, dungeonType.ToString(), chapterID, chestPosition);

            CompositeKeyDungeonStarDataDictionary.TryGetValue(compositeKey, out dungeonStarData);
            return(dungeonStarData);
        }