FishConditions

@Serializable
data class FishConditions(val weather: Set<WeatherType> = emptySet(), val world: Set<FishingWorldId> = emptySet())

魚が釣れる条件。空の項目は制限なしを表す。

Constructors

Link copied to clipboard
constructor(weather: Set<WeatherType> = emptySet(), world: Set<FishingWorldId> = emptySet())

Properties

Link copied to clipboard

釣れる天候

Link copied to clipboard

釣れる釣りワールド

Functions

Link copied to clipboard
fun matches(world: FishingWorldId, weather: WeatherType?): Boolean

条件を満たすかどうかを返す。空の条件は常に満たす。 weather が null (天候不明) の場合、天候条件付きの魚は対象外になる。