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

◆ CanDo()

bool CanDo ( ItemBase ingredients[],
PlayerBase player )
protected

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

552 {
553 //Debug.Log("Called Can Do on a recipe id:" + m_ID.ToString(),"recipes");
554 for (int i = 0; i < MAX_NUMBER_OF_INGREDIENTS; i++)
555 {
556 if (ingredients[i].GetInventory() && ingredients[i].GetInventory().AttachmentCount() > 0)
557 return false;
558 }
559
560 return true;
561 }
const int MAX_NUMBER_OF_INGREDIENTS
Определения RecipeBase.c:1

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