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

◆ OnItemLocationChanged()

override void OnItemLocationChanged ( EntityAI old_owner,
EntityAI new_owner )
protected

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

340 {
341 super.OnItemLocationChanged(old_owner, new_owner);
342
343 //refresh physics after location change (with delay)
345
347 GetInventory().GetCurrentInventoryLocation(loc);
348 if (loc.GetType() == InventoryLocationType.GROUND)
349 {
350 if (IsOpen() && !IsOven())
351 CheckForRoofLimited(0); //roof check when moved to ground
352
354 {
357 }
358 }
359 else
360 {
362 {
365 }
366 }
367
368 m_SurfaceUnderWetnessModifier = GetSurfaceWetnessOnHeatModifier(this);
369 }
override bool IsOpen()
Определения FireplaceBase.c:2396
ref UnderObjectDecalSpawnSettings m_UnderObjectDecalSpawnSettings
Определения FireplaceBase.c:228
ref UnderObjectDecalSpawnComponent m_UnderObjectDecalSpawnComponent
Определения FireplaceBase.c:229
void RefreshFireplacePhysics()
float GetSurfaceWetnessOnHeatModifier(notnull EntityAI entity)
Определения FireplaceBase.c:2437
bool IsOven()
Определения FireplaceBase.c:1643
bool m_ThawnSurfaceUnderSupport
size of wetness increment (per FP heating tick) added to overall FP wetness when ignited on wet surfa...
Определения FireplaceBase.c:227
InventoryLocationType
types of Inventory Location
Определения InventoryLocation.c:4
override void CheckForRoofLimited(float timeTresholdMS=3000)
Roof check for entity, limited by time (anti-spam solution)
Определения ItemBase.c:8729
void UnderObjectDecalSpawnComponent(notnull UnderObjectDecalSpawnSettings pSettings, notnull Object pParent)
override ScriptCallQueue GetCallQueue(int call_category)
Определения DayZGame.c:1187
proto native int GetType()
returns type of InventoryLocation
InventoryLocation.
Определения InventoryLocation.c:29
proto void Call(func fn, void param1=NULL, void param2=NULL, void param3=NULL, void param4=NULL, void param5=NULL, void param6=NULL, void param7=NULL, void param8=NULL, void param9=NULL)
adds call into the queue with given parameters and arguments (arguments are held in memory until the ...
proto native CGame GetGame()
const int CALL_CATEGORY_GAMEPLAY
Определения tools.c:10

Перекрестные ссылки ScriptCallQueue::Call(), CALL_CATEGORY_GAMEPLAY, CheckForRoofLimited(), CGame::GetCallQueue(), GetGame(), GetSurfaceWetnessOnHeatModifier(), InventoryLocation::GetType(), FireplaceBase::IsOpen(), IsOven(), m_ThawnSurfaceUnderSupport, m_UnderObjectDecalSpawnComponent, m_UnderObjectDecalSpawnSettings, RefreshFireplacePhysics() и UnderObjectDecalSpawnComponent().