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

◆ TakeToDst()

override bool HumanInventory::TakeToDst ( InventoryMode mode,
notnull InventoryLocation src,
notnull InventoryLocation dst )
inlineprivate

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

244 {
245 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[inv] Take2Dst(" + typename.EnumToString(InventoryMode, mode) + ") src=" + InventoryLocation.DumpToStringNullSafe(src) + " dst=" + InventoryLocation.DumpToStringNullSafe(dst));
246
247 if (GetManOwner().IsAlive() && RedirectToHandEvent(mode, src, dst))
248 return true;
249
250 return super.TakeToDst(mode, src, dst);
251 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
void hndDebugPrint(string s)
Определения HandFSM.c:1
Man GetManOwner()
Определения HumanInventory.c:102
bool RedirectToHandEvent(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
Определения HumanInventory.c:200

Перекрестные ссылки InventoryLocation::DumpToStringNullSafe(), GetManOwner(), hndDebugPrint(), LogManager::IsInventoryHFSMLogEnable() и RedirectToHandEvent().

Используется в EntityAI::PredictiveMoveItemFromHandsToInventory().