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

◆ PredictiveTakeEntityToTargetCargo()

bool Entity::PredictiveTakeEntityToTargetCargo ( notnull EntityAI target,
notnull EntityAI item )
inlineprotected

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

1913 {
1914 if ( GetGame().IsMultiplayer() )
1915 return GetInventory().TakeEntityToTargetCargo(InventoryMode.JUNCTURE, target, item);
1916 else
1917 return GetInventory().TakeEntityToTargetCargo(InventoryMode.PREDICTIVE, target, item);
1918 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
proto native GameInventory GetInventory()
bool TakeEntityToTargetCargo(InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
Put item into into cargo of another entity.
Определения Inventory.c:1086
proto native CGame GetGame()

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