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

◆ GetSoundCategory()

string RecipeBase::GetSoundCategory ( int ingredientIndex,
ItemBase item )
inlineprotected

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

579 {
580 string itemType = item.GetType();
581 array<string> ptr = m_Ingredients[ingredientIndex];
582
583 for (int x = 0; x < ptr.Count(); x++)
584 {
585 if (GetGame().IsKindOf(itemType, ptr.Get(x)))
586 {
587 return m_SoundCategories[ingredientIndex].Get(x);
588 }
589 }
590 return "";
591 }
Icon x
ref array< string > m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:9
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:8
proto native CGame GetGame()

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

Используется в PluginRecipesManagerBase::GetSoundCategory().