Elin Decompiled Documentation EA 23.102 Nightly
|
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 (Condition condition) |
void | RefreshWeather () |
void | OnChangeHour () |
Forecast | GetForecast (Date date, Condition current) |
List< WeatherForecast > | GetWeatherForecast () |
void | RefreshForecasts () |
long | GetTimeSinceLastRain () |
void | SetRandomCondition () |
void | SetConditionFromForecast (bool silent=false) |
void | SetCondition (Condition condition, int _duration=20, bool silent=false) |
Public Attributes | |
Condition | _currentCondition |
int | duration = 8 |
int | lastRain |
List< Forecast > | forecasts = new List<Forecast>() |
Properties | |
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] |
Static Private Attributes | |
const int | maxForecasts = 10 |
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 5 of file Weather.cs.
enum Weather.Condition |
Definition at line 206 of file Weather.cs.
References Date.AddHour(), Weather.Forecast.duration, Season.GetRandomWeather(), EClass.rnd(), and season.
Referenced by RefreshForecasts().
|
inline |
Definition at line 158 of file Weather.cs.
References CurrentCondition, and GetName().
Referenced by WidgetDate._Refresh(), and GetName().
|
inline |
Definition at line 163 of file Weather.cs.
|
inline |
Definition at line 286 of file Weather.cs.
References CurrentCondition, World.date, Date.GetElapsedMins(), lastRain, and EClass.world.
|
inline |
Definition at line 215 of file Weather.cs.
References _currentCondition, Weather.WeatherForecast.Add(), Date.AddHour(), Weather.Forecast.condition, Date.Copy(), Weather.WeatherForecast.date, World.date, Date.day, Weather.Forecast.duration, duration, Weather.WeatherForecast.Finish(), forecasts, RefreshForecasts(), and EClass.world.
Referenced by LayerNewspaper.RefreshWeather().
|
inline |
Definition at line 197 of file Weather.cs.
References duration, and SetConditionFromForecast().
Referenced by GameDate.AdvanceHour().
|
inline |
Definition at line 261 of file Weather.cs.
References Date.AddHour(), Weather.Forecast.condition, Date.Copy(), World.date, Weather.Forecast.duration, forecasts, GetForecast(), and EClass.world.
Referenced by GetWeatherForecast(), and SetConditionFromForecast().
|
inline |
Definition at line 168 of file Weather.cs.
References _currentCondition, EClass._map, EClass._zone, EloMapActor.elomap, Scene.elomapActor, EloMap.GetTileInfo(), Map.IsIndoor, IsRaining, EloMap.TileInfo.IsSnow, Spatial.IsSnowCovered, IsSnowing, Season.isWinter, EloMap.minX, EloMap.minY, EClass.pc, Card.pos, EClass.scene, World.season, EClass.world, Point.x, and Point.z.
Referenced by Scene.Init(), GameScreenElona.RefreshWeather(), and SetCondition().
|
inline |
Definition at line 308 of file Weather.cs.
References _currentCondition, EClass._map, EClass._zone, EClass.core, World.date, duration, Date.GetRaw(), Card.HasElement(), Map.IsIndoor, IsRaining, Spatial.IsSnowZone, Season.isWinter, lastRain, Party.members, Chara.party, EClass.pc, Zone.RainWater(), BaseGameScreen.RefreshSky(), RefreshWeather(), EClass.rnd(), Msg.Say(), Core.screen, World.season, and EClass.world.
Referenced by World.ModEther(), WidgetArtTool.OnActivate(), SetConditionFromForecast(), SetRandomCondition(), and CoreDebug.UpdateInput().
|
inline |
Definition at line 300 of file Weather.cs.
References Weather.Forecast.condition, Weather.Forecast.duration, forecasts, RefreshForecasts(), and SetCondition().
Referenced by OnChangeHour().
|
inline |
Definition at line 295 of file Weather.cs.
References SetCondition(), and Util.
Condition Weather._currentCondition |
Definition at line 67 of file Weather.cs.
Referenced by GetWeatherForecast(), RefreshWeather(), and SetCondition().
int Weather.duration = 8 |
Definition at line 70 of file Weather.cs.
Referenced by GetWeatherForecast(), OnChangeHour(), and SetCondition().
Definition at line 76 of file Weather.cs.
Referenced by GetWeatherForecast(), RefreshForecasts(), and SetConditionFromForecast().
int Weather.lastRain |
Definition at line 73 of file Weather.cs.
Referenced by GetTimeSinceLastRain(), and SetCondition().
|
staticprivate |
Definition at line 64 of file Weather.cs.
|
get |
Definition at line 78 of file Weather.cs.
Referenced by Chara._Move(), GetName(), GetTimeSinceLastRain(), WidgetArtTool.OnActivate(), BaseGameScreen.RefreshScreenSize(), BaseGameScreen.RefreshWeather(), GameScreenElona.RefreshWeather(), and Chara.TickConditions().
|
get |
Definition at line 140 of file Weather.cs.
Referenced by BaseGameScreen.RefreshWeather().
|
get |
Definition at line 156 of file Weather.cs.
Referenced by BaseGameScreen.RefreshWeather(), and GameScreenElona.RefreshWeather().
|
get |
Definition at line 104 of file Weather.cs.
|
get |
Definition at line 92 of file Weather.cs.
Referenced by TraitGenerator.OnSimulateHour().
|
get |
Definition at line 116 of file Weather.cs.
Referenced by GameUpdater.SurfaceUpdater.FixedUpdate(), BaseGameScreen.RefreshWeather(), GameScreenElona.RefreshWeather(), RefreshWeather(), SetCondition(), Chara.TickConditions(), Trait.TryToggle(), and GameUpdater.Update100ms().
|
get |
Definition at line 128 of file Weather.cs.
Referenced by RefreshWeather().
|
get |
Definition at line 90 of file Weather.cs.
Referenced by GetForecast().