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

◆ PredictiveTakeEntityToTargetAttachment()

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

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

1993 {
1994 if ( GetGame().IsMultiplayer() )
1995 return GetInventory().TakeEntityAsTargetAttachment(InventoryMode.JUNCTURE, target, item);
1996 else
1997 return GetInventory().TakeEntityAsTargetAttachment(InventoryMode.PREDICTIVE, target, item);
1998 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
proto native GameInventory GetInventory()
bool TakeEntityAsTargetAttachment(InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
proto native CGame GetGame()

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