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

◆ DryItemsInVicinity() [1/2]

override void UniversalTemperatureSourceLambdaBaseImpl::DryItemsInVicinity ( UniversalTemperatureSourceSettings pSettings)
inlineprotected

DEPRECATED.

См. определение в файле UniversalTemperatureSourceLambdaBaseImpl.c строка 158

159 {
160 array<Object> nearestObjects = new array<Object>();
161
162 vector pos = pSettings.m_Position;
163 if (pSettings.m_Parent != null)
164 pos = pSettings.m_Parent.GetPosition();
165
166 GetGame().GetObjectsAtPosition(pos, pSettings.m_RangeMax, nearestObjects, null);
167
168 DryItemsInVicinity(pSettings, pos, nearestObjects);
169 }
proto native void GetObjectsAtPosition(vector pos, float radius, out array< Object > objects, out array< CargoBase > proxyCargos)
Returns list of all objects in circle "radius" around position "pos".
override void DryItemsInVicinity(UniversalTemperatureSourceSettings pSettings, vector position, out notnull array< Object > nearestObjects)
vector m_Position
if the stats can be overriden by coefficient/variables from WorldData (currently TemperatureCap only)
Определения UniversalTemperatureSource.c:18
float m_RangeMax
range where the full temperature is given to receiver
Определения UniversalTemperatureSource.c:8
proto native CGame GetGame()

Перекрестные ссылки DryItemsInVicinity(), GetGame(), CGame::GetObjectsAtPosition(), UniversalTemperatureSourceSettings::m_Parent, UniversalTemperatureSourceSettings::m_Position и UniversalTemperatureSourceSettings::m_RangeMax.