Convert TOCLIENT_INVENTORY and TOCLIENT_DETACHED_INVENTORY.