135 {
136 super.OnSuccess(new_item);
137
138 InventoryLocation src = new InventoryLocation;
139 m_ItemToCargo.GetInventory().GetCurrentInventoryLocation(src);
140 InventoryLocation dst = new InventoryLocation;
141
143
145 {
146 if(
GetGame().IsDedicatedServer())
148 else
150
151 }
152 }
proto native bool IsValid()
verify current set inventory location
proto native void SetCargo(notnull EntityAI parent, EntityAI e, int idx, int row, int col, bool flip)
sets current inventory location type to Cargo with coordinates (idx, row, col)
proto native CGame GetGame()