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

◆ GetSoundCategory()

string PluginRecipesManagerBase::GetSoundCategory ( int recipeID,
ItemBase item1,
ItemBase item2 )
inlineprotected

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

660 {
661 ItemBase unsorted[2];
662 ItemBase sorted[2];
663
664 unsorted[0] = item1;
665 unsorted[1] = item2;
666
667 SortIngredientsInRecipe(recipeID, 2,unsorted, sorted);
668
669 RecipeBase recipe = m_RecipeList[recipeID];
670 string soundCat = recipe.GetSoundCategory(0,sorted[0]);
671
672 if (!soundCat)
673 {
674 soundCat = recipe.GetSoundCategory(1,sorted[1]);
675 }
676
677 return soundCat;
678 }
class GP5GasMask extends MaskBase ItemBase
ref array< ref RecipeBase > m_RecipeList
Определения PluginRecipesManager.c:42
bool SortIngredientsInRecipe(int id, int num_of_ingredients, ItemBase ingredients_unsorted[], ItemBase ingredients_sorted[])
sorts ingredients correctly as either first or second ingredient based on their masks
Определения PluginRecipesManager.c:489
string GetSoundCategory(int ingredientIndex, ItemBase item)
Определения RecipeBase.c:578

Перекрестные ссылки RecipeBase::GetSoundCategory(), m_RecipeList и SortIngredientsInRecipe().