コード例 #1
0
 public static bool CanEncounterViaCurry(this AreaSlotType8 type) => type is HiddenMain or HiddenMain2;
コード例 #2
0
 public static bool CanCrossover(this AreaSlotType8 type) => type is not(HiddenMain or HiddenMain2 or OnlyFishing);
コード例 #3
0
 public static bool CanEncounterViaFishing(this AreaSlotType8 type, AreaWeather8 weather) => type is OnlyFishing || weather.HasFlag(Fishing);