OpenMetaverse Protocol Library Developers API Documentation
StartLandSearch Method (findFlags, typeFlags, priceLimit, areaLimit, queryStart)
NamespacesOpenMetaverse DirectoryManagerStartLandSearch(DirectoryManager . . :: . . DirFindFlags, DirectoryManager . . :: . . SearchTypeFlags, Int32, Int32, Int32)
Send a request to the data server for land sales listings
Declaration Syntax
C#
public 
void 
StartLandSearch(
        

DirectoryManager

.
.
::
.
.
DirFindFlags 
findFlags,
        

DirectoryManager

.
.
::
.
.
SearchTypeFlags 
typeFlags,
        
int 
priceLimit,
        
int 
areaLimit,
        
int 
queryStart
)
Parameters
findFlags ( DirectoryManager . . :: . . DirFindFlags)
Flags sent to specify query options Available flags: Specify the parcel rating with one or more of the following: IncludePG IncludeMature IncludeAdult Specify the field to pre sort the results with ONLY ONE of the following: PerMeterSort NameSort AreaSort PricesSort Specify the order the results are returned in, if not specified the results are pre sorted in a Descending Order SortAsc Specify additional filters to limit the results with one or both of the following: LimitByPrice LimitByArea Flags can be combined by separating them with the | (pipe) character Additional details can be found in DirectoryManager . . :: . . DirFindFlags
typeFlags ( DirectoryManager . . :: . . SearchTypeFlags)
What type of land to search for. Auction, Estate or Mainland
priceLimit ( Int32)
Maximum price to search for when the DirFindFlags.LimitByPrice flag is specified in findFlags
areaLimit ( Int32)
Maximum area to search for when the DirFindFlags.LimitByArea flag is specified in findFlags
queryStart ( Int32)
Each request is limited to 100 parcels being returned. To get the first 100 parcels of a request use 0, from 100-199 use 100, 200-299 use 200, etc.
Remarks

The event will be raised with the response from the simulator There is no way to determine how many results will be returned, or how many times the callback will be fired other than you won't get more than 100 total parcels from each reply.

Any land set for sale to either anybody or specific to the connected agent will be included in the results if the land is included in the query

Examples
  Copy imageCopy
// request all mainland, any
maturity rating that is larger than 512 sq.m
StartLandSearch(DirFindFlags.SortAsc | DirFindFlags.PerMeterSort |
DirFindFlags.LimitByArea | DirFindFlags.IncludePG |
DirFindFlags.IncludeMature | DirFindFlags.IncludeAdult,
SearchTypeFlags.Mainland, 
0, 
512, 
0);
See Also
[!:OnDirLandReply]

Assembly: OpenMetaverse(Module: OpenMetaverse.dll) Version: 0.9.3.3318 (0.9.3.3318)