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

◆ ReplaceItemInHandsWithNewImpl()

bool EntityAI::ReplaceItemInHandsWithNewImpl ( InventoryMode mode,
ReplaceItemWithNewLambdaBase lambda )
inlineprotected

hand replace

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

301 {
302 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace HND->HND lambda=" + lambda.DumpToString());
303 bool code = GetHumanInventory().ReplaceItemInHandsWithNew(mode, lambda);
305 return code;
306 }
void syncDebugPrint(string s)
Определения Debug.c:1
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool ReplaceItemInHandsWithNew(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:530
override string GetDebugName()
Определения dayzplayer.c:1170

Перекрестные ссылки ReplaceItemWithNewLambdaBase::DumpToString(), GetDebugName(), GetHumanInventory(), LogManager::IsSyncLogEnable(), HumanInventory::ReplaceItemInHandsWithNew(), syncDebugPrint() и UpdateInventoryMenu().

Используется в LocalReplaceItemInHandsWithNew() и ServerReplaceItemInHandsWithNew().