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

◆ ReplaceItemWithNewImpl()

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

!hand -> !hand replace

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

278 {
279 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace !HND lambda=" + lambda.DumpToString());
280 bool code = GetHumanInventory().ReplaceItemWithNew(mode, lambda);
282 return code;
283 }
void syncDebugPrint(string s)
Определения 3_Game/Systems/Inventory/Debug.c:1
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
override bool ReplaceItemWithNew(InventoryMode mode, ReplaceItemWithNewLambdaBase lambda)
Определения HumanInventory.c:451
override string GetDebugName()
Определения dayzplayer.c:1170

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

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