Elin Modding Docs Doc
|
Classes | |
class | Forecast |
class | WeatherForecast |
Public Types | |
enum | Condition { Fine , Cloudy , Rain , RainHeavy , Snow , SnowHeavy , Ether , Blossom , None } |
Public Member Functions | |
string | GetName () |
string | GetName (Weather.Condition condition) |
void | RefreshWeather () |
void | OnChangeHour () |
Weather.Forecast | GetForecast (Date date, Weather.Condition current) |
List< Weather.WeatherForecast > | GetWeatherForecast () |
void | RefreshForecasts () |
long | GetTimeSinceLastRain () |
void | SetRandomCondition () |
void | SetConditionFromForecast (bool silent=false) |
void | SetCondition (Weather.Condition condition, int _duration=20, bool silent=false) |
Public Attributes | |
Weather.Condition | _currentCondition |
int | duration = 8 |
int | lastRain |
List< Weather.Forecast > | forecasts = new List<Weather.Forecast>() |
Properties | |
Weather.Condition | CurrentCondition [get] |
Season | season [get] |
bool | IsHazard [get] |
bool | IsFineOrCloudy [get] |
bool | IsRaining [get] |
bool | IsSnowing [get] |
bool | IsBlossom [get] |
bool | IsEther [get] |
![]() | |
static Game | game [get] |
static bool | AdvMode [get] |
static Player | player [get] |
static Chara | pc [get] |
static UI | ui [get] |
static Map | _map [get] |
static Zone | _zone [get] |
static FactionBranch | Branch [get] |
static FactionBranch | BranchOrHomeBranch [get] |
static Faction | Home [get] |
static Faction | Wilds [get] |
static Scene | scene [get] |
static BaseGameScreen | screen [get] |
static GameSetting | setting [get] |
static GameData | gamedata [get] |
static ColorProfile | Colors [get] |
static World | world [get] |
static SourceManager | sources [get] |
static SourceManager | editorSources [get] |
static SoundManager | Sound [get] |
static CoreDebug | debug [get] |
Additional Inherited Members | |
![]() | |
static int | rnd (int a) |
static int | curve (int a, int start, int step, int rate=75) |
static int | rndHalf (int a) |
static float | rndf (float a) |
static int | rndSqrt (int a) |
static void | Wait (float a, Card c) |
static void | Wait (float a, Point p) |
static int | Bigger (int a, int b) |
static int | Smaller (int a, int b) |
![]() | |
static Core | core |
Definition at line 7 of file Weather.cs.
enum Weather.Condition |
Definition at line 341 of file Weather.cs.
Weather.Forecast Weather.GetForecast | ( | Date | date, |
Weather.Condition | current ) |
Definition at line 148 of file Weather.cs.
string Weather.GetName | ( | ) |
Definition at line 94 of file Weather.cs.
string Weather.GetName | ( | Weather.Condition | condition | ) |
Definition at line 100 of file Weather.cs.
long Weather.GetTimeSinceLastRain | ( | ) |
Definition at line 230 of file Weather.cs.
List< Weather.WeatherForecast > Weather.GetWeatherForecast | ( | ) |
Definition at line 158 of file Weather.cs.
void Weather.OnChangeHour | ( | ) |
Definition at line 138 of file Weather.cs.
void Weather.RefreshForecasts | ( | ) |
Definition at line 205 of file Weather.cs.
void Weather.RefreshWeather | ( | ) |
Definition at line 106 of file Weather.cs.
void Weather.SetCondition | ( | Weather.Condition | condition, |
int | _duration = 20, | ||
bool | silent = false ) |
Definition at line 255 of file Weather.cs.
void Weather.SetConditionFromForecast | ( | bool | silent = false | ) |
Definition at line 246 of file Weather.cs.
void Weather.SetRandomCondition | ( | ) |
Definition at line 240 of file Weather.cs.
Weather.Condition Weather._currentCondition |
Definition at line 315 of file Weather.cs.
int Weather.duration = 8 |
Definition at line 319 of file Weather.cs.
List<Weather.Forecast> Weather.forecasts = new List<Weather.Forecast>() |
Definition at line 327 of file Weather.cs.
int Weather.lastRain |
Definition at line 323 of file Weather.cs.
|
get |
Definition at line 11 of file Weather.cs.
|
get |
Definition at line 75 of file Weather.cs.
|
get |
Definition at line 85 of file Weather.cs.
|
get |
Definition at line 45 of file Weather.cs.
|
get |
Definition at line 35 of file Weather.cs.
|
get |
Definition at line 55 of file Weather.cs.
|
get |
Definition at line 65 of file Weather.cs.
|
get |
Definition at line 25 of file Weather.cs.