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

◆ PredictiveTakeEntityToTargetAttachment()

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

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

2033 {
2034 if ( g_Game.IsMultiplayer() )
2035 return GetInventory().TakeEntityAsTargetAttachment(InventoryMode.JUNCTURE, target, item);
2036 else
2037 return GetInventory().TakeEntityAsTargetAttachment(InventoryMode.PREDICTIVE, target, item);
2038 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
proto native GameInventory GetInventory()
bool TakeEntityAsTargetAttachment(InventoryMode mode, notnull EntityAI target, notnull EntityAI item)

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