7 if (!
item.GetInventory().CanRemoveEntity() || !
player.CanManipulateInventory())
16 player.PredictiveTakeEntityToTargetAttachmentEx(
il.GetParent(),
item,
il.GetSlot());
20 if (
item.GetInventory().GetCurrentInventoryLocation(
src))
26 item_base.SplitIntoStackMaxClient(
il.GetParent(),
il.GetSlot());
33 int slot =
dst.GetSlot();
35 if (!
dst.GetItem().GetInventory().CanRemoveEntity() || !
player.CanManipulateInventory())
43 if (
dst.GetItem().GetInventory().GetCurrentInventoryLocation(
src))
46 Error(
"TakeIntoCargoEx cannot get src for dst=" +
dst.DumpToString());
49 item_base.SplitIntoStackMaxToInventoryLocationClient(
dst);
FindInventoryLocationType
flags for searching locations in inventory
InventoryLocationType
types of Inventory Location
static void TakeOrSplitToInventoryLocation(notnull PlayerBase player, notnull InventoryLocation dst)
static void TakeOrSplitToInventory(notnull PlayerBase player, notnull EntityAI target, notnull EntityAI item)
void Error(string err)
Messagebox with error message.