Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
universaltemperaturesourcelambdabase.c
Go to the documentation of this file.
2{
3 protected float m_LastExecuteTime = -1;
4 protected float m_ExecuteInterval = -1;
5 protected bool m_AffectsPlayer;
6
11
13 void Execute(UniversalTemperatureSourceSettings pSettings, UniversalTemperatureSourceResult resultValues);
15 void DryItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array<EntityAI> nearestObjects);
16 void WarmAndCoolItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array<EntityAI> nearestObjects);
17
19 {
20 float time = g_Game.GetTickTime();
21
22 if (m_LastExecuteTime == -1)
23 m_LastExecuteTime += time; //time is at least 1
24
26 }
27
29 {
30 m_LastExecuteTime = g_Game.GetTickTime();
31 }
32
34 {
36 }
37
39 {
41 }
42
44 {
45 return m_AffectsPlayer;
46 }
47
50 const float HEAT_THROUGH_AIR_COEF = 0.003;
51}
void WarmAndCoolItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array< EntityAI > nearestObjects)
void Execute(UniversalTemperatureSourceSettings pSettings, UniversalTemperatureSourceResult resultValues)
void DryItemsInVicinity(UniversalTemperatureSourceSettings pSettings)
void DryItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array< EntityAI > nearestObjects)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
DayZGame g_Game
Definition dayzgame.c:3868