Skip to main content
Deno 2 is finally here 🎉️
Learn more
class WeatherController
import { WeatherController } from "https://deno.land/x/sptaki@1.2.0/controllers/mod.ts";

Constructors

new
WeatherController(
weatherGenerator: WeatherGenerator,
logger: ILogger,
configServer: ConfigServer,
)

Properties

protected
configServer: ConfigServer
protected
logger: ILogger
protected
weatherConfig: IWeatherConfig
protected
weatherGenerator: WeatherGenerator

Methods

Handle client/weather

Get the current in-raid time (MUST HAVE PLAYER LOGGED INTO CLIENT TO WORK)