コード例 #1
0
 private static PBEGender[] GetGenderKeys(PBESpecies species)
 {
     if (PokemonImageUtils.HasFemaleVersion(species, false))
     {
         return(new[] { PBEGender.Male, PBEGender.Female });
     }
     return(new[] { PBEGender.MAX });
 }
コード例 #2
0
 private static PBEGender GetGenderKey(PBESpecies species, PBEGender gender)
 {
     return(PokemonImageUtils.HasFemaleVersion(species, false) ? gender : PBEGender.MAX);
 }