DayZ 1.29
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)

См. определение в файле 3_Game/DayZ/Entities/EntityAI.c строка 1903

1904 {
1905 if ( g_Game.IsMultiplayer() )
1906 return GetInventory().TakeEntityToInventory(InventoryMode.JUNCTURE, flags, item);
1907 else
1908 return GetInventory().TakeEntityToInventory(InventoryMode.PREDICTIVE, flags, item);
1909 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
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)

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