DayZ 1.30
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 строка 1955

1956 {
1957 if ( g_Game.IsMultiplayer() )
1958 return GetInventory().TakeEntityToInventory(InventoryMode.JUNCTURE, flags, item);
1959 else
1960 return GetInventory().TakeEntityToInventory(InventoryMode.PREDICTIVE, flags, item);
1961 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:4074
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().