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

◆ TakeToDst()

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

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

236 {
237 if (LogManager.IsInventoryHFSMLogEnable()) hndDebugPrint("[inv] Take2Dst(" + typename.EnumToString(InventoryMode, mode) + ") src=" + InventoryLocation.DumpToStringNullSafe(src) + " dst=" + InventoryLocation.DumpToStringNullSafe(dst));
238
239 if (GetManOwner().IsAlive() && RedirectToHandEvent(mode, src, dst))
240 return true;
241
242 return super.TakeToDst(mode, src, dst);
243 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
void hndDebugPrint(string s)
Определения HandFSM.c:1
Man GetManOwner()
Определения HumanInventory.c:102
bool RedirectToHandEvent(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
Определения HumanInventory.c:192

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

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