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

◆ CanDo() [1/199]

bool RecipeBase::CanDo ( ItemBase ingredients[],
PlayerBase player )
inlineprotected

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

538 {
539 //Debug.Log("Called Can Do on a recipe id:" + m_ID.ToString(),"recipes");
540 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
541 {
542 if (ingredients[i].GetInventory() && ingredients[i].GetInventory().AttachmentCount() > 0)
543 return false;
544 }
545
546 return true;
547 }
const int MAX_NUMBER_OF_INGREDIENTS
Определения RecipeBase.c:1

Перекрестные ссылки MAX_NUMBER_OF_INGREDIENTS.

Используется в CheckRecipe().