Keeps information about currently loaded world, like temperature. Подробнее...
Граф наследования:WorldData:Защищенные члены | |
| void | WorldData () |
| void | Init () |
| float | GetApproxSunriseTime (float monthday) |
| float | GetApproxSunsetTime (float monthday) |
| int | GetDaytime () |
| float | CalcBaseEnvironmentTemperature (float monthday, float daytime) |
| void | UpdateBaseEnvTemperature (float timeslice) |
| void | UpdateWeatherEffects (Weather weather, float timeslice) |
| Updates local weather effects. | |
| float | ComputeSnowflakeScale (Weather weather) |
| Returns the desired snowflake scale based on weather simulation state. | |
| float | GetBaseEnvTemperature () |
| float | GetBaseEnvTemperatureAtObject (notnull Object object) |
| float | GetBaseEnvTemperatureAtPosition (vector pos) |
| float | GetBaseEnvTemperatureExact (int month, int day, int hour, int minute) |
| float | GetLiquidTypeEnviroTemperature (int liquidType) |
| bool | WeatherOnBeforeChange (EWeatherPhenomenon type, float actual, float change, float time) |
| array< vector > | GetArtyFiringPos () |
| float | GetAgentSpawnChance (eAgents agent) |
| float | GetColdAreaToolDamageModifier () |
| void | BaseTempDebug (int month, int day) |
| int | GetPollution () |
| float | GetWindCoef () |
| float | GetUniversalTemperatureSourceCapModifier () |
| float | GetTemperature (Object object, EEnvironmentTemperatureComponent properties=EEnvironmentTemperatureComponent.BASE) |
| Return actual temperature of environment based on provided parameters. | |
| float | GetTemperatureComponentValue (float temperatureIn, EEnvironmentTemperatureComponent properties=0) |
| Return value of queried EEnvironmentTemperatureComponent which can be used in future calculation(s) | |
| float | GetSunEffectOnTemperature (int m_DayTime) |
| int | DayOfYear (int day, int month) |
| Returns number of day in current year (eg. 1 - 365) | |
| float | GetSunriseTime (float dayNumber) |
| Returns sunrise time for passed day. | |
| float | GetSunsetTime (float dayNumber) |
| Returns sunset time for passed day. | |
| float | WindEffectTemperatureValue (float temperatureInput) |
| void | CalculateWind (int newWeather, bool suddenChange, out float magnitude, out float direction) |
| void | CalculateVolFog (float lerpValue, float windMagnitude, float changeTime) |
| void | CreateYieldBank () |
| void | InitYieldBank () |
| override this to properly register world-specific yields | |
| void | SetupWeatherSettings () |
| void | SetupLiquidTemperatures () |
| void | SetupDustEffects () |
| CatchYieldBank | GetCatchYieldBank () |
| TStringArray | GetDefaultPRAPaths () |
| void | StartSandstorm (float timeToGather) |
| Helper function that starts the sandstorm while setting an internal flag that allows WorldData identify the source of the call. | |
| sealed void | WeatherSandstormStart (bool continuedSession) |
| Event propagated from SandstormController::OnStart raised when the sandstorm starts and begins fading in to its target magnitude. | |
| sealed void | WeatherSandstormStop (bool calledFromWeather) |
| Event propagated from SandstormController::OnStop raised when the sandstorm fades out and terminates. | |
| void | OnSandstormStart (bool isStartedByWeather) |
| void | OnSandstormStop (bool calledFromWeather) |
| float | GetDayTemperature () |
| float | GetNightTemperature () |
| DustEffectsSettings | GetDustEffectsSettings () |
Закрытые данные | |
| const float | SPAWN_CHANCE_CHOLERA_DEF = 50 |
| const float | COLD_AREA_TOOL_DMG_MODIF_DEF = 1 |
| float | m_TemperaturePerHeightReductionModifier |
| directly accesible (defined/overriden in Init()) | |
| float | m_CloudsTemperatureEffectModifier |
| amount of °C reduced for each 100 meteres of height above water level | |
| float | m_TemperatureInsideBuildingsModifier |
| how many % of environment temperature can be lowered by clouds | |
| ref map< int, float > | m_TemperatureUnderSunModifier |
| float | m_WaterContactTemperatureModifier |
Keeps information about currently loaded world, like temperature.
См. определение в файле WorldData.c строка 2