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

◆ InitItemSounds()

void InventoryItem::InitItemSounds ( )
inlineprotected

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

4449 {
4450 if (GetPlaceSoundset() == string.Empty && GetDeploySoundset() == string.Empty && GetLoopDeploySoundset() == string.Empty && !GetInventoryItemType().SetDetachSoundEvent() && !GetInventoryItemType().SetAttachSoundEvent())
4451 return;
4452
4454
4455 if (GetPlaceSoundset() != string.Empty)
4456 handler.AddSound(SoundConstants.ITEM_PLACE, GetPlaceSoundset());
4457
4458 if (GetDeploySoundset() != string.Empty)
4459 handler.AddSound(SoundConstants.ITEM_DEPLOY, GetDeploySoundset());
4460
4461 SoundParameters params = new SoundParameters();
4462 params.m_Loop = true;
4463 if (GetLoopDeploySoundset() != string.Empty)
4464 handler.AddSound(SoundConstants.ITEM_DEPLOY_LOOP, GetLoopDeploySoundset(), params);
4465 }
bool SetAttachSoundEvent()
bool SetDetachSoundEvent()
Empty
Определения Hand_States.c:14
void ItemSoundHandler(ItemBase parent)
Определения ItemSoundHandler.c:31
string GetLoopDeploySoundset()
ItemSoundHandler GetItemSoundHandler()
Определения ItemBase.c:4439
string GetPlaceSoundset()
string GetDeploySoundset()
bool m_Loop
Определения ItemSoundHandler.c:5

Перекрестные ссылки Empty, GetDeploySoundset(), ItemBase::GetDeploySoundset(), GetItemSoundHandler(), GetLoopDeploySoundset(), ItemBase::GetLoopDeploySoundset(), GetPlaceSoundset(), GetPlaceSoundset(), ItemSoundHandler(), SoundParameters::m_Loop, SetAttachSoundEvent() и SetDetachSoundEvent().