DayZ 1.30
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено
Класс WorldData

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 ()
 

Защищенные данные

float SUDDENCHANGE_TIME_MULTIPLIER = 0.2
 
float SUDDENCHANGE_LENGTH_MULTIPLIER = 0.4
 
float WIND_MAGNITUDE_TIME_MULTIPLIER = 0.1
 
float WIND_DIRECTION_TIME_MULTIPLIER = 0.05
 
Weather m_Weather
 
float m_EnvironmentTemperature
 
bool m_EnTempUpdated
 
float m_Timer
 
float m_MaxTemps [12]
 
float m_MinTemps [12]
 
float m_Sunrise_Jan
 
float m_Sunset_Jan
 
float m_Sunrise_Jul
 
float m_Sunset_Jul
 
int m_ShortestDayOfYear = 1
 
int m_LongestDayOfYear = 1
 
ref array< vector > m_FiringPos
 
bool m_Pollution
 
ref CatchYieldBank m_YieldBank
 
ref WorldDataWeatherSettings m_WeatherDefaultSettings
 
ref WorldDataLiquidSettings m_LiquidSettings
 
ref DustEffectsSettings m_DustEffectsSettings
 
ref TStringArray m_DefaultPlayerRestrictedAreas
 
int m_BadWeatherChance
 weather related
 
int m_ClearWeatherChance
 
bool m_IsSuddenChange
 
float m_WorldWindCoef
 
bool m_IsSandstorm
 
bool m_IsSandstormStartedByWeather
 
float m_UniversalTemperatureSourceCapModifier
 
int m_SameWeatherCnt = 0
 
int m_StepValue = 5
 
int m_Chance = 50
 
int m_ChoosenWeather = 1
 
int m_LastWeather = 0
 
float m_DayTemperature = 10
 
float m_NightTemperature = 6
 

Закрытые данные

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