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

◆ PredictiveTakeToDst()

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

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

2009 {
2010 if ( GetGame().IsMultiplayer() )
2011 return GetInventory().TakeToDst(InventoryMode.JUNCTURE, src, dst);
2012 else
2013 return GetInventory().TakeToDst(InventoryMode.PREDICTIVE, src, dst);
2014 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
proto native GameInventory GetInventory()
bool TakeToDst(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
move src to dst
Определения Inventory.c:1055
proto native CGame GetGame()

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