static private OSDMap OSDSerializeMembers(object inv) { var osd = new OSDMap(); OSD.AddObjectOSD(inv, osd, inv.GetType(), false); AddExportUser(osd["CreatorID"]); AddExportGroup(osd["GroupID"]); AddExportUser(osd["OwnerID"]); AddExportUser(osd["LastOwnerID"]); return(osd); }