Ejemplo n.º 1
0
        /// <summary>
        ///     Land for sale request
        /// </summary>
        /// <param name="remoteClient"></param>
        /// <param name="queryID"></param>
        /// <param name="queryFlags"></param>
        /// <param name="searchType"></param>
        /// <param name="price"></param>
        /// <param name="area"></param>
        /// <param name="queryStart"></param>
        public void DirLandQuery(IClientAPI remoteClient, UUID queryID, uint queryFlags, uint searchType, uint price,
                                 uint area, int queryStart)
        {
            List <DirLandReplyData> ReturnValues =
                new List <DirLandReplyData> (DirectoryService.FindLandForSale(searchType.ToString(), price, area,
                                                                              queryStart, queryFlags, remoteClient.ScopeID));

            SplitPackets(ReturnValues,
                         data => remoteClient.SendDirLandReply(queryID, data));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Land for sale request
        /// </summary>
        /// <param name="remoteClient"></param>
        /// <param name="queryID"></param>
        /// <param name="queryFlags"></param>
        /// <param name="searchType"></param>
        /// <param name="price"></param>
        /// <param name="area"></param>
        /// <param name="queryStart"></param>
        public void DirLandQuery(IClientAPI remoteClient, UUID queryID,
                                 uint queryFlags, uint searchType, int price, int area,
                                 int queryStart)
        {
            List <DirLandReplyData> ReturnValues = new List <DirLandReplyData>(directoryService.FindLandForSale(searchType.ToString(), price.ToString(), area.ToString(), queryStart, queryFlags));

            SplitPackets <DirLandReplyData> (ReturnValues, delegate(DirLandReplyData[] data)
            {
                remoteClient.SendDirLandReply(queryID, data);
            });
        }