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

◆ SetCargo()

proto native void InventoryLocation::SetCargo ( notnull EntityAI parent,
EntityAI e,
int idx,
int row,
int col,
bool flip )
private

sets current inventory location type to Cargo with coordinates (idx, row, col)

Аргументы
[in]parentparent entity that will receive item <e> into cargo
[in]eentity with this inventory location (null for new spawns)
[in]idxindex of cargo
[in]rowrow of the cargo
[in]colcolumn of the cargo

Используется в InventoryItem::OnRightClick(), ReplaceWithNewReciveCargoLambda::OnSuccess(), ReadFromContext(), GameInventory::TakeEntityToCargoEx() и HumanInventory::TakeEntityToCargoEx().