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

◆ PredictiveTakeEntityAsAttachment()

bool Entity::PredictiveTakeEntityAsAttachment ( notnull EntityAI item)
inlineprotected

Put item into as attachment.

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

4895 {
4896 if (g_Game.IsMultiplayer())
4897 return GetInventory().TakeEntityAsAttachment(InventoryMode.JUNCTURE, item);
4898 else
4899 return GetInventory().TakeEntityAsAttachment(InventoryMode.PREDICTIVE, item);
4900 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:4074
proto native GameInventory GetInventory()
bool TakeEntityAsAttachment(InventoryMode mode, notnull EntityAI item)

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