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

◆ ReplaceItemWithNew()

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

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

452 {
453 EntityAI itemInHands = GetEntityInHands();
454 if (itemInHands == lambda.m_OldItem)
455 return ReplaceItemInHandsWithNew(mode, lambda);
456
457 return super.ReplaceItemWithNew(mode, lambda);
458 }
class LogManager EntityAI
proto native EntityAI GetEntityInHands()
bool ReplaceItemInHandsWithNew(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:530

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

Используется в EntityAI::ReplaceItemWithNewImpl().