public static AttachmentResourcesMessage FromOSD(OSD osd) { AttachmentResourcesMessage res = new AttachmentResourcesMessage(); res.Deserialize((OSDMap)osd); return res; }