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

◆ PredictiveTakeEntityToTargetAttachment()

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

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

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

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