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

◆ PredictiveTakeEntityToCargoEx()

bool Entity::PredictiveTakeEntityToCargoEx ( notnull EntityAI item,
int idx,
int row,
int col )
inlineprotected

Put item into into cargo on specific cargo location.

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

1971 {
1972 if ( g_Game.IsMultiplayer() )
1973 return GetInventory().TakeEntityToCargoEx(InventoryMode.JUNCTURE, item, idx, row, col);
1974 else
1975 return GetInventory().TakeEntityToCargoEx(InventoryMode.PREDICTIVE, item, idx, row, col);
1976 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
proto native GameInventory GetInventory()
bool TakeEntityToCargoEx(InventoryMode mode, notnull EntityAI item, int idx, int row, int col)
moves item on specific cargo location

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