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

◆ RemoveIngredient()

void RemoveIngredient ( int index,
string ingredient )
protected

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

184 {
185 array<string> ptr = m_Ingredients[index];
186 for (int i = 0; i < ptr.Count(); i++)
187 {
188 if (ptr[i] == ingredient)
189 {
190 ptr.Remove(i);
191 m_SoundCategories[index].Remove(i);
192 return;
193 }
194 }
195 }
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.

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