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

◆ PredictiveTakeEntityAsAttachment()

bool Entity::PredictiveTakeEntityAsAttachment ( notnull EntityAI item)
inlineprotected

Put item into as attachment.

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

2028 {
2029 if (GetGame().IsMultiplayer())
2030 return GetInventory().TakeEntityAsAttachment(InventoryMode.JUNCTURE, item);
2031 else
2032 return GetInventory().TakeEntityAsAttachment(InventoryMode.PREDICTIVE, item);
2033 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
proto native GameInventory GetInventory()
bool TakeEntityAsAttachment(InventoryMode mode, notnull EntityAI item)
proto native CGame GetGame()

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