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

◆ PredictiveTakeEntityToCargo()

bool Entity::PredictiveTakeEntityToCargo ( notnull EntityAI item)
inlineprotected

Put item into into cargo.

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

4837 {
4838 if ( g_Game.IsMultiplayer() )
4839 return GetInventory().TakeEntityToCargo(InventoryMode.JUNCTURE, item);
4840 else
4841 return GetInventory().TakeEntityToCargo(InventoryMode.PREDICTIVE, item);
4842 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:4074
proto native GameInventory GetInventory()
bool TakeEntityToCargo(InventoryMode mode, notnull EntityAI item)

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