MoripaFishing
Toggle table of contents
VersionPlaceholder
jvm
Platform filter
jvm
Switch theme
Search in API
MoripaFishing
bukkit
/
party.morino.moripafishing.core.random.weather
/
WeatherRandomizerImpl
Weather
Randomizer
Impl
class
WeatherRandomizerImpl
(
val
fishingWorldId
:
FishingWorldId
)
:
WeatherRandomizer
,
KoinComponent
天気をランダムに生成する実装クラス
Members
Constructors
Weather
Randomizer
Impl
Link copied to clipboard
constructor
(
fishingWorldId
:
FishingWorldId
)
Properties
fishing
World
Id
Link copied to clipboard
val
fishingWorldId
:
FishingWorldId
Functions
draw
Weather
Link copied to clipboard
open
override
fun
drawWeather
(
)
:
WeatherType
現在の天気を取得する
draw
Weather
Forecast
Link copied to clipboard
open
override
fun
drawWeatherForecast
(
limit
:
Int
)
:
List
<
WeatherType
>
指定された時間数分の天気を取得する
get
Link copied to clipboard
fun
get
(
x
:
Long
)
:
Long
get
Koin
Link copied to clipboard
open
fun
getKoin
(
)
:
Koin
get
Weather
By
Date
Link copied to clipboard
fun
getWeatherByDate
(
date
:
ZonedDateTime
)
:
WeatherType
指定された日時における天気を返す