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

◆ PredictiveTakeEntityToTargetCargo()

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

См. определение в файле 3_Game/Entities/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.
proto native GameInventory GetInventory()
bool TakeEntityToTargetCargo(InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
Put item into into cargo of another entity.
proto native CGame GetGame()

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