1265 {
1267 InventoryLocation src = new InventoryLocation();
1268 if (item.GetInventory().GetCurrentInventoryLocation(src))
1269 {
1270 InventoryLocation dst = new InventoryLocation();
1272 {
1274 return false;
1275 }
1276
1278 }
1279
1280 Error(
"DropEntity - No inventory location");
1281 return false;
1282 }
void inventoryDebugPrint(string s)
InventoryMode
NOTE: PREDICTIVE is not to be used at all in multiplayer.
InventoryValidationReason
void OnInventoryFailure(InventoryCommandType type, InventoryValidationReason reason, InventoryLocation src, InventoryLocation dst)
bool TakeToDst(InventoryMode mode, notnull InventoryLocation src, notnull InventoryLocation dst)
move src to dst
static bool SetGroundPosByOwner(EntityAI owner, notnull EntityAI item, out InventoryLocation ground)
void Error(string err)
Messagebox with error message.