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

◆ InsertIngredientEx()

void RecipeBase::InsertIngredientEx ( int index,
string ingredient,
string soundCategory,
DayZPlayerConstants uid = DayZPlayerConstants.CMD_ACTIONFB_CRAFTING )
inlineprotected

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

149 {
150 array<string> ptr = m_Ingredients[index];
151 ptr.Insert(ingredient);
152 m_SoundCategories[index].Insert(soundCategory);
153 if(index == 0)
154 {
155 m_AnimationUIDs.Insert(uid);
156 }
157 }
ref array< string > m_SoundCategories[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:9
ref array< int > m_AnimationUIDs
Определения RecipeBase.c:10
ref array< string > m_Ingredients[MAX_NUMBER_OF_INGREDIENTS]
Определения RecipeBase.c:8

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

Используется в Init() и InsertIngredient().