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

            DungeonStarDataDictionary.TryGetValue(id, out dungeonStarData);
            return(dungeonStarData);
        }
Example #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);
        }