0b67a9a0e9
Co-authored-by: Dev <dev@dev.sp-tarkov.com> Co-authored-by: Terkoiz <terkoiz@noreply.dev.sp-tarkov.com> Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com> Co-authored-by: Refringe <refringe@noreply.dev.sp-tarkov.com> Co-authored-by: Kaeno <e> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/147
30 lines
681 B
TypeScript
30 lines
681 B
TypeScript
import { WindDirection } from "../../../models/enums/WindDirection";
|
|
import { MinMax } from "../../common/MinMax";
|
|
import { IBaseConfig } from "./IBaseConfig";
|
|
|
|
export interface IWeatherConfig extends IBaseConfig
|
|
{
|
|
kind: "aki-weather"
|
|
acceleration: number
|
|
weather: Weather
|
|
}
|
|
|
|
export interface Weather
|
|
{
|
|
clouds: WeatherSettings<string>
|
|
windSpeed: WeatherSettings<number>
|
|
windDirection: WeatherSettings<WindDirection>
|
|
windGustiness: MinMax
|
|
rain: WeatherSettings<number>
|
|
rainIntensity: MinMax
|
|
fog: WeatherSettings<string>
|
|
temp: MinMax
|
|
pressure: MinMax
|
|
}
|
|
|
|
export interface WeatherSettings<T>
|
|
{
|
|
values: T[]
|
|
weights: number[]
|
|
}
|