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

◆ ReplaceItemWithNew()

override bool HumanInventory::ReplaceItemWithNew ( InventoryMode mode,
ReplaceItemWithNewLambdaBase lambda )
inlineprivate

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

462 {
463 EntityAI itemInHands = GetEntityInHands();
464 if (itemInHands == lambda.m_OldItem)
465 return ReplaceItemInHandsWithNew(mode, lambda);
466
467 return super.ReplaceItemWithNew(mode, lambda);
468 }
class LogManager EntityAI
proto native EntityAI GetEntityInHands()
bool ReplaceItemInHandsWithNew(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:541

Перекрестные ссылки GetEntityInHands(), ReplaceItemWithNewLambdaBase::m_OldItem и ReplaceItemInHandsWithNew().