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

◆ PredictiveTakeEntityToTargetCargo()

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

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

1989 {
1990 if ( g_Game.IsMultiplayer() )
1991 return GetInventory().TakeEntityToTargetCargo(InventoryMode.JUNCTURE, target, item);
1992 else
1993 return GetInventory().TakeEntityToTargetCargo(InventoryMode.PREDICTIVE, target, item);
1994 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:4074
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().