AthenaShared.utility.weather ​
Modules ​
Type Aliases ​
WEATHER_KEY ​
Ƭ WEATHER_KEY: keyof typeof WEATHER_TYPE
Defined in ​
Functions ​
getWeatherFromString ​
Usage
AthenaShared.utility.weather.getWeatherFromString(weatherName
): number
Parameters ​
Name | Type |
---|---|
weatherName | "ExtraSunny" | "Clear" | "Clouds" | "Smog" | "Foggy" | "Overcast" | "Rain" | "Thunder" | "Clearing" | "Neutral" | "Snow" | "Blizzard" | "Snowlight" | "Xmas" | "Halloween" |
Returns ​
number