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

◆ OnWasDetached() [3/3]

override void InventoryItemSuper::OnWasDetached ( EntityAI parent,
int slot_id )
inlineprotected

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

299 {
300 super.OnWasDetached(parent, slot_id);
301
302 #ifndef SERVER
303 EffectSound effect = SEffectManager.PlaySound(m_DetachSound, GetPosition());
304 effect.SetAutodestroy(true);
305 #endif
306 }
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:603
string m_DetachSound
Определения InventoryItem.c:197
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

Перекрестные ссылки GetPosition, m_DetachSound, SEffectManager::PlaySound() и EffectSound::SetAutodestroy().