312313314315316317318319320321322
itemNode.setParent(itemParent); if (onInventoryObjectUpdated != null) { onInventoryObjectUpdated.raiseEvent(new InventoryObjectUpdatedEventArgs(itemNode.getData(), item)); } itemNode.setData(item); } else // We're adding.