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

◆ OnItemLocationChanged()

override void OnItemLocationChanged ( EntityAI old_owner,
EntityAI new_owner )
protected

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

354 {
355 super.OnItemLocationChanged(old_owner, new_owner);
356
357 //refresh physics after location change (with delay)
359
361 GetInventory().GetCurrentInventoryLocation(loc);
362 if (loc.GetType() == InventoryLocationType.GROUND)
363 {
364 if (IsOpen() && !IsOven())
365 CheckForRoofLimited(0); //roof check when moved to ground
366
368 {
371 }
372 }
373 else
374 {
376 {
379 }
380
382 }
383
384 m_SurfaceUnderWetnessModifier = GetSurfaceWetnessOnHeatModifier(this);
385 }
DayZGame g_Game
Определения DayZGame.c:4074
override bool IsOpen()
Определения FireplaceBase.c:2421
ref UnderObjectDecalSpawnSettings m_UnderObjectDecalSpawnSettings
Определения FireplaceBase.c:230
ref UnderObjectDecalSpawnComponent m_UnderObjectDecalSpawnComponent
Определения FireplaceBase.c:231
void RefreshFireplacePhysics()
void DestroyAreaDamage()
Определения FireplaceBase.c:2363
float GetSurfaceWetnessOnHeatModifier(notnull EntityAI entity)
Определения FireplaceBase.c:2462
bool IsOven()
Определения FireplaceBase.c:1669
bool m_ThawnSurfaceUnderSupport
size of wetness increment (per FP heating tick) added to overall FP wetness when ignited on wet surfa...
Определения FireplaceBase.c:229
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:4060
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().