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

◆ PredictiveTakeEntityAsAttachment()

bool Entity::PredictiveTakeEntityAsAttachment ( notnull EntityAI item)
inlineprotected

Put item into as attachment.

См. определение в файле 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.
Определения Inventory.c:22
proto native GameInventory GetInventory()
bool TakeEntityAsAttachment(InventoryMode mode, notnull EntityAI item)
Определения Inventory.c:1177
proto native CGame GetGame()

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