예제 #1
0
 bool IsRare(Resource resource)
 {
     return(RareThings.Any(tags => resource.Tags.Contains(tags)));
 }
예제 #2
0
 bool IsRare(ResourceLibrary.ResourceType resource)
 {
     return(RareThings.Any(tags => ResourceLibrary.GetResourceByName(resource).Tags.Contains(tags)));
 }