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

◆ PredictiveTakeEntityToInventory()

bool Entity::PredictiveTakeEntityToInventory ( FindInventoryLocationType flags,
notnull EntityAI item )
inlineprotected

Put item anywhere into this entity (as attachment or into cargo, recursively)

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

1864 {
1865 if ( GetGame().IsMultiplayer() )
1866 return GetInventory().TakeEntityToInventory(InventoryMode.JUNCTURE, flags, item);
1867 else
1868 return GetInventory().TakeEntityToInventory(InventoryMode.PREDICTIVE, flags, item);
1869 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
Определения Inventory.c:22
proto native GameInventory GetInventory()
bool TakeEntityToInventory(InventoryMode mode, FindInventoryLocationType flags, notnull EntityAI item)
Put item anywhere into this entity (as attachment or into cargo, recursively)
Определения Inventory.c:1011
proto native CGame GetGame()

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