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

◆ ReplaceItemInHandsWithNewElsewhereImpl()

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

hand replace2

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

338 {
339 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace HND->elsewhere lambda=" + lambda.DumpToString());
340 bool code = GetHumanInventory().ReplaceItemInHandsWithNewElsewhere(mode, lambda);
342 return code;
343 }
void syncDebugPrint(string s)
Определения 3_Game/Systems/Inventory/Debug.c:1
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
bool ReplaceItemInHandsWithNewElsewhere(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:535
override string GetDebugName()
Определения dayzplayer.c:1170

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

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