예제 #1
0
        public static RewardBookType RandomType()
        {
            System.Collections.Generic.List <string[]> list = BookContents.Where(strList => !String.IsNullOrEmpty(strList[2])).ToList();

            int ran = Utility.Random(list.Count);

            ColUtility.Free(list);

            return((RewardBookType)ran);
        }
예제 #2
0
        public static RewardBookType RandomType()
        {
            var list = BookContents.Where(strList => !string.IsNullOrEmpty(strList[2])).ToList();

            var ran = Utility.Random(list.Count);

            ColUtility.Free(list);

            return((RewardBookType)ran);
        }