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

◆ PredictiveTakeEntityToTargetCargo()

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

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

1953 {
1954 if ( g_Game.IsMultiplayer() )
1955 return GetInventory().TakeEntityToTargetCargo(InventoryMode.JUNCTURE, target, item);
1956 else
1957 return GetInventory().TakeEntityToTargetCargo(InventoryMode.PREDICTIVE, target, item);
1958 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
proto native GameInventory GetInventory()
bool TakeEntityToTargetCargo(InventoryMode mode, notnull EntityAI target, notnull EntityAI item)
Put item into into cargo of another entity.

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