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

◆ GetSoundCategory()

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

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

667 {
668 ItemBase unsorted[2];
669 ItemBase sorted[2];
670
671 unsorted[0] = item1;
672 unsorted[1] = item2;
673
674 SortIngredientsInRecipe(recipeID, 2,unsorted, sorted);
675
676 RecipeBase recipe = m_RecipeList[recipeID];
677 string soundCat = recipe.GetSoundCategory(0,sorted[0]);
678
679 if (!soundCat)
680 {
681 soundCat = recipe.GetSoundCategory(1,sorted[1]);
682 }
683
684 return soundCat;
685 }
class GP5GasMask extends MaskBase ItemBase
void RecipeBase()
Определения RecipeBase.c:67
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:496

Перекрестные ссылки m_RecipeList и SortIngredientsInRecipe().