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

◆ GetSoundCategory()

string GetSoundCategory ( int ingredientIndex,
ItemBase item )
protected

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

593 {
594 string itemType = item.GetType();
595 array<string> ptr = m_Ingredients[ingredientIndex];
596
597 for (int x = 0; x < ptr.Count(); x++)
598 {
599 if (GetGame().IsKindOf(itemType, ptr.Get(x)))
600 {
601 return m_SoundCategories[ingredientIndex].Get(x);
602 }
603 }
604 return "";
605 }
Icon x
ref array< string > m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:25
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:24
Result for an object found in CGame.IsBoxCollidingGeometryProxy.
proto native CGame GetGame()

Перекрестные ссылки GetGame(), m_Ingredients, m_SoundCategories и x.