Server/project/src/models/spt/config/IWeatherConfig.ts
chomp 0b67a9a0e9 0.13.5.0 (!147)
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
2023-10-10 11:03:20 +00:00

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[]
}