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

◆ TakeToDstImpl()

bool EntityAI::TakeToDstImpl ( InventoryMode mode,
notnull InventoryLocation src,
notnull InventoryLocation dst )
inlineprotected

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

836 {
837 if (LogManager.IsSyncLogEnable()) syncDebugPrint("[inv] " + GetDebugName(this) + " STS = " + GetSimulationTimeStamp() + " ::Take2Dst(" + typename.EnumToString(InventoryMode, mode) + ") src=" + InventoryLocation.DumpToStringNullSafe(src) + " dst=" + InventoryLocation.DumpToStringNullSafe(dst));
838 bool code = GetHumanInventory().TakeToDst(mode, src, dst);
840 return code;
841 }
void syncDebugPrint(string s)
Определения Debug.c:1
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
void UpdateInventoryMenu()
proto native HumanInventory GetHumanInventory()
override bool TakeToDst(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
Определения HumanInventory.c:235
override string GetDebugName()
Определения dayzplayer.c:1170

Перекрестные ссылки InventoryLocation::DumpToStringNullSafe(), GetDebugName(), GetHumanInventory(), LogManager::IsSyncLogEnable(), syncDebugPrint(), HumanInventory::TakeToDst() и UpdateInventoryMenu().

Используется в JunctureTakeToDst(), LocalTakeToDst(), PredictiveTakeToDst() и ServerTakeToDst().