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

◆ PredictiveTakeEntityAsAttachment()

bool Entity::PredictiveTakeEntityAsAttachment ( notnull EntityAI item)
inlineprotected

Put item into as attachment.

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

2068 {
2069 if (g_Game.IsMultiplayer())
2070 return GetInventory().TakeEntityAsAttachment(InventoryMode.JUNCTURE, item);
2071 else
2072 return GetInventory().TakeEntityAsAttachment(InventoryMode.PREDICTIVE, item);
2073 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
proto native GameInventory GetInventory()
bool TakeEntityAsAttachment(InventoryMode mode, notnull EntityAI item)

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