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

◆ PredictiveTakeEntityToCargo()

bool Entity::PredictiveTakeEntityToCargo ( notnull EntityAI item)
inlineprotected

Put item into into cargo.

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

1937 {
1938 if ( g_Game.IsMultiplayer() )
1939 return GetInventory().TakeEntityToCargo(InventoryMode.JUNCTURE, item);
1940 else
1941 return GetInventory().TakeEntityToCargo(InventoryMode.PREDICTIVE, item);
1942 }
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
DayZGame g_Game
Определения DayZGame.c:3942
proto native GameInventory GetInventory()
bool TakeEntityToCargo(InventoryMode mode, notnull EntityAI item)
moves item to cargo of this intentory

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