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

◆ PredictiveTakeEntityToCargo()

bool Entity::PredictiveTakeEntityToCargo ( notnull EntityAI item)
inlineprotected

Put item into into cargo.

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

1897 {
1898 if ( GetGame().IsMultiplayer() )
1899 return GetInventory().TakeEntityToCargo(InventoryMode.JUNCTURE, item);
1900 else
1901 return GetInventory().TakeEntityToCargo(InventoryMode.PREDICTIVE, item);
1902 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
proto native GameInventory GetInventory()
bool TakeEntityToCargo(InventoryMode mode, notnull EntityAI item)
moves item to cargo of this intentory
Определения Inventory.c:1079
proto native CGame GetGame()

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