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

◆ ReplaceItemElsewhereWithNewInHandsImpl()

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

!hand replace -> hand

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

298 {
299 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace !HND->HND lambda=" + lambda.DumpToString());
300 bool code = GetHumanInventory().ReplaceItemElsewhereWithNewInHands(mode, lambda);
302 return code;
303 }
void syncDebugPrint(string s)
Определения 3_Game/Systems/Inventory/Debug.c:1
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool ReplaceItemElsewhereWithNewInHands(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:460
override string GetDebugName()
Определения dayzplayer.c:1170

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

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