コード例 #1
0
        public static IEnumerable <CollectibleSet> GetCollectibleSets(ValuablesCollection valuables)
        {
            if (valuables == null || valuables.CollectibleCounts == null)
            {
                return(new CollectibleSet[0]);
            }

            return(valuables.GetCollectibleSets());
        }
コード例 #2
0
        public static Collectible GetFirstCollectible(ValuablesCollection vc)
        {
            if (vc == null)
            {
                return(null);
            }

            return(vc.GetFirstCollectible());
        }