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

◆ CanPutInCargo()

override bool Clothing::CanPutInCargo ( EntityAI parent)
inlineprivate

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

4 {
5 if( !super.CanPutInCargo(parent) ) {return false;}
6 if ( GetNumberOfItems() == 0 || !parent || parent.IsMan() )
7 {
8 return true;
9 }
10 return false;
11 }
int GetNumberOfItems()
Returns the number of items in cargo, otherwise returns 0(non-cargo objects). Recursive.
Определения ItemBase.c:8218
override bool IsMan()
Определения Man.c:44

Перекрестные ссылки GetNumberOfItems() и EntityAI::IsMan().