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

◆ PredictiveTakeToDst()

bool Entity::PredictiveTakeToDst ( notnull InventoryLocation src,
notnull InventoryLocation dst )
inlineprotected

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

2049 {
2050 if ( g_Game.IsMultiplayer() )
2051 return GetInventory().TakeToDst(InventoryMode.JUNCTURE, src, dst);
2052 else
2053 return GetInventory().TakeToDst(InventoryMode.PREDICTIVE, src, dst);
2054 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
proto native GameInventory GetInventory()
bool TakeToDst(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
move src to dst

Перекрестные ссылки g_Game и GetInventory().