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

◆ ReplaceItemWithNewImpl()

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

!hand -> !hand replace

См. определение в файле Man.c строка 260

261 {
262 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " Replace !HND lambda=" + lambda.DumpToString());
263 bool code = GetHumanInventory().ReplaceItemWithNew(mode, lambda);
265 return code;
266 }
void syncDebugPrint(string s)
Определения 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().