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

◆ OnWasAttached() [3/3]

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

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

289 {
290 super.OnWasAttached(parent, slot_id);
291
292 #ifndef SERVER
293 EffectSound effect = SEffectManager.PlaySound(m_AttachSound, GetPosition());
294 effect.SetAutodestroy(true);
295 #endif
296 }
override void SetAutodestroy(bool auto_destroy)
Sets whether Effect automatically cleans up when it stops.
Определения EffectSound.c:603
string m_AttachSound
Определения InventoryItem.c:196
class JsonUndergroundAreaTriggerData GetPosition
Определения UndergroundAreaLoader.c:9

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