ToOSD() public method

public ToOSD ( ) : OSDMap
return OSDMap
Beispiel #1
0
        private byte[] ProcessGet(OSDMap request)
        {
            string       regionName = request["RegionName"];
            MurmurConfig config     = m_service.GetConfiguration(regionName);
            OSDMap       response   = config.ToOSD();
            string       resp       = OSDParser.SerializeJsonString(response);

            if (resp == "")
            {
                return(new byte[0]);
            }
            return(Util.UTF8.GetBytes(resp));
        }