nw::AreaWeather

struct AreaWeather

Public Functions

AreaWeather() = default
bool from_json(const nlohmann::json &archive)
nlohmann::json to_json() const

Public Members

int32_t chance_lightning = 0
int32_t chance_rain = 0
int32_t chance_snow = 0
uint32_t color_moon_ambient = 0
uint32_t color_moon_diffuse = 0
uint32_t color_moon_fog = 0
uint32_t color_sun_ambient = 0
uint32_t color_sun_diffuse = 0
uint32_t color_sun_fog = 0
float fog_clip_distance = 0.0f
int32_t wind_power = 0
uint8_t day_night_cycle = 0
uint8_t is_night = 0
uint8_t lighting_scheme = 0
uint8_t fog_moon_amount = 0
uint8_t moon_shadows = 0
uint8_t fog_sun_amount = 0
uint8_t sun_shadows = 0