Example #1
0
 public void GodPickDelete(IClientAPI remoteClient, UUID AgentID, UUID queryPickID, UUID queryID)
 {
     if (remoteClient.Scene.Permissions.IsGod(remoteClient.AgentId))
     {
         ProfileFrontend.RemovePick(queryPickID);
     }
 }
        public byte[] RemovePick(OSDMap request)
        {
            UUID principalID = request["PickUUID"].AsUUID();

            ProfileConnector.RemovePick(principalID);

            string xmlString = OSDParser.SerializeJsonString(new OSDMap());
            //MainConsole.Instance.DebugFormat("[AuroraDataServerPostHandler]: resp string: {0}", xmlString);
            UTF8Encoding encoding = new UTF8Encoding();

            return(encoding.GetBytes(xmlString));
        }