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

◆ RemoveIngredient()

void RecipeBase::RemoveIngredient ( int index,
string ingredient )
inlineprotected

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

160 {
161 array<string> ptr = m_Ingredients[index];
162 for (int i = 0; i < ptr.Count(); i++)
163 {
164 if (ptr[i] == ingredient)
165 {
166 ptr.Remove(i);
167 m_SoundCategories[index].Remove(i);
168 return;
169 }
170 }
171 }
ref array< string > m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:9
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:8

Перекрестные ссылки m_Ingredients и m_SoundCategories.