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

◆ ReplaceItemInHandsWithNewImpl()

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

hand replace

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

335 {
336 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace HND->HND lambda=" + lambda.DumpToString());
337 bool code = GetHumanInventory().ReplaceItemInHandsWithNew(mode, lambda);
339 return code;
340 }
void syncDebugPrint(string s)
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool ReplaceItemInHandsWithNew(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:478
override string GetDebugName()
Определения dayzplayer.c:1191

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

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