DayZ 1.27
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.

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

1931 {
1932 if ( GetGame().IsMultiplayer() )
1933 return GetInventory().TakeEntityToCargoEx(InventoryMode.JUNCTURE, item, idx, row, col);
1934 else
1935 return GetInventory().TakeEntityToCargoEx(InventoryMode.PREDICTIVE, item, idx, row, col);
1936 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
proto native GameInventory GetInventory()
bool TakeEntityToCargoEx(InventoryMode mode, notnull EntityAI item, int idx, int row, int col)
moves item on specific cargo location
Определения Inventory.c:1097
proto native CGame GetGame()

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