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

◆ OnItemLocationChanged()

override void OnItemLocationChanged ( EntityAI old_owner,
EntityAI new_owner )
protected

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

342 {
343 super.OnItemLocationChanged(old_owner, new_owner);
344
345 //refresh physics after location change (with delay)
347
349 GetInventory().GetCurrentInventoryLocation(loc);
350 if (loc.GetType() == InventoryLocationType.GROUND)
351 {
352 if (IsOpen() && !IsOven())
353 CheckForRoofLimited(0); //roof check when moved to ground
354
356 {
359 }
360 }
361 else
362 {
364 {
367 }
368
370 }
371
372 m_SurfaceUnderWetnessModifier = GetSurfaceWetnessOnHeatModifier(this);
373 }
DayZGame g_Game
Определения DayZGame.c:3942
override bool IsOpen()
Определения FireplaceBase.c:2405
ref UnderObjectDecalSpawnSettings m_UnderObjectDecalSpawnSettings
Определения FireplaceBase.c:229
ref UnderObjectDecalSpawnComponent m_UnderObjectDecalSpawnComponent
Определения FireplaceBase.c:230
void RefreshFireplacePhysics()
void DestroyAreaDamage()
Определения FireplaceBase.c:2347
float GetSurfaceWetnessOnHeatModifier(notnull EntityAI entity)
Определения FireplaceBase.c:2446
bool IsOven()
Определения FireplaceBase.c:1653
bool m_ThawnSurfaceUnderSupport
size of wetness increment (per FP heating tick) added to overall FP wetness when ignited on wet surfa...
Определения FireplaceBase.c:228
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:8971
void UnderObjectDecalSpawnComponent(notnull UnderObjectDecalSpawnSettings pSettings, notnull Object pParent)
proto native int GetType()
returns type of InventoryLocation
InventoryLocation.
Определения InventoryLocation.c:30
const int CALL_CATEGORY_GAMEPLAY
Определения 3_Game/DayZ/tools/tools.c:10

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