CARLA
Loading...
Searching...
No Matches
UWeatherJsonUtils Class Reference

#include <WeatherJsonUtils.h>

Inheritance diagram for UWeatherJsonUtils:

Static Public Member Functions

static TArray< FString > GetAvailableConditionPresetNames ()
static TArray< FString > GetAvailableTimePresetNames ()
static bool GetMapDefaultPresetNames (const FString &MapName, FString &OutTimeName, FString &OutConditionName)
static FString GetMapDefaultsPath ()
static bool GetMapDefaultWeather (const FString &MapName, const FWeatherParameters &Base, UPARAM(ref) FWeatherParameters &OutWeather)
static FString GetPresetsPath ()
static bool LoadConditionPreset (UPARAM(ref) FWeatherConditionPreset &OutPreset, const FString &Name)
static bool LoadTimePreset (UPARAM(ref) FWeatherTimePreset &OutPreset, const FString &Name)
static FWeatherParameters MergeWeatherPresets (const FWeatherParameters &Base, const FWeatherTimePreset &TimePreset, const FWeatherConditionPreset &ConditionPreset)
static bool SaveConditionPreset (const FWeatherConditionPreset &Preset, const FString &Name)
static bool SaveTimePreset (const FWeatherTimePreset &Preset, const FString &Name)
static bool SetMapDefaultPresetNames (const FString &MapName, const FString &TimeName, const FString &ConditionName)
static bool SetMapDefaultWeather (const FString &MapName, const FWeatherParameters &Weather)

Detailed Description

Definition at line 71 of file WeatherJsonUtils.h.

Member Function Documentation

◆ GetAvailableConditionPresetNames()

TArray< FString > UWeatherJsonUtils::GetAvailableConditionPresetNames ( )
static

◆ GetAvailableTimePresetNames()

TArray< FString > UWeatherJsonUtils::GetAvailableTimePresetNames ( )
static

◆ GetMapDefaultPresetNames()

bool UWeatherJsonUtils::GetMapDefaultPresetNames ( const FString & MapName,
FString & OutTimeName,
FString & OutConditionName )
static

Definition at line 150 of file WeatherJsonUtils.cpp.

References GetMapDefaultsPath().

◆ GetMapDefaultsPath()

FString UWeatherJsonUtils::GetMapDefaultsPath ( )
inlinestatic

◆ GetMapDefaultWeather()

bool UWeatherJsonUtils::GetMapDefaultWeather ( const FString & MapName,
const FWeatherParameters & Base,
UPARAM(ref) FWeatherParameters & OutWeather )
static

◆ GetPresetsPath()

FString UWeatherJsonUtils::GetPresetsPath ( )
inlinestatic

Definition at line 140 of file WeatherJsonUtils.h.

◆ LoadConditionPreset()

bool UWeatherJsonUtils::LoadConditionPreset ( UPARAM(ref) FWeatherConditionPreset & OutPreset,
const FString & Name )
static

◆ LoadTimePreset()

bool UWeatherJsonUtils::LoadTimePreset ( UPARAM(ref) FWeatherTimePreset & OutPreset,
const FString & Name )
static

◆ MergeWeatherPresets()

◆ SaveConditionPreset()

bool UWeatherJsonUtils::SaveConditionPreset ( const FWeatherConditionPreset & Preset,
const FString & Name )
static

Definition at line 105 of file WeatherJsonUtils.cpp.

Referenced by ASkyBase::C_SaveConditionPreset().

◆ SaveTimePreset()

bool UWeatherJsonUtils::SaveTimePreset ( const FWeatherTimePreset & Preset,
const FString & Name )
static

Definition at line 95 of file WeatherJsonUtils.cpp.

Referenced by ASkyBase::B_SaveTimePreset().

◆ SetMapDefaultPresetNames()

bool UWeatherJsonUtils::SetMapDefaultPresetNames ( const FString & MapName,
const FString & TimeName,
const FString & ConditionName )
static

Definition at line 161 of file WeatherJsonUtils.cpp.

References GetMapDefaultsPath().

Referenced by ASkyBase::E_SetAsMapDefault().

◆ SetMapDefaultWeather()

bool UWeatherJsonUtils::SetMapDefaultWeather ( const FString & MapName,
const FWeatherParameters & Weather )
static

Definition at line 201 of file WeatherJsonUtils.cpp.

References GetMapDefaultsPath(), and Weather.

Referenced by ASkyBase::D_SaveCurrentWeatherAsMapDefault().


The documentation for this class was generated from the following files: