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

◆ ReplaceItemInHandsWithNewImpl()

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

hand replace

См. определение в файле 3_Game/DayZ/Entities/Man.c строка 327

328 {
329 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace HND->HND lambda=" + lambda.DumpToString());
330 bool code = GetHumanInventory().ReplaceItemInHandsWithNew(mode, lambda);
332 return code;
333 }
void syncDebugPrint(string s)
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool ReplaceItemInHandsWithNew(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:541
override string GetDebugName()
Определения dayzplayer.c:1173

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

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