C# Класс OpenMetaverse.GridManager

Manages grid-wide tasks such as the world map
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
GetGridRegion ( string name, GridLayerType layer, GridRegion &region ) : bool

Get grid region information using the region name, this function will block until it can find the region or gives up

GridManager ( GridClient client ) : System

Constructor

MapItems ( ulong regionHandle, GridItemType item, GridLayerType layer, int timeoutMS ) : List

RequestMainlandSims ( GridLayerType layer ) : void

Request data for all mainland (Linden managed) simulators

RequestMapBlocks ( GridLayerType layer, ushort minX, ushort minY, ushort maxX, ushort maxY, bool returnNonExistent ) : void

RequestMapItems ( ulong regionHandle, GridItemType item, GridLayerType layer ) : void

RequestMapLayer ( GridLayerType layer ) : void

RequestMapRegion ( string regionName, GridLayerType layer ) : void

RequestRegionHandle ( UUID regionID ) : void

Request the region handle for the specified region UUID

Приватные методы

Метод Описание
CoarseLocationHandler ( Packet packet, Simulator simulator ) : void
MapBlockReplyHandler ( Packet packet, Simulator simulator ) : void

Populate Grid info based on data from MapBlockReplyPacket

MapItemReplyHandler ( Packet packet, Simulator simulator ) : void
MapLayerResponseHandler ( CapsClient client, OSD result, Exception error ) : void
RegionHandleReplyHandler ( Packet packet, Simulator simulator ) : void
TimeMessageHandler ( Packet packet, Simulator simulator ) : void

Get sim time from the appropriate packet

Описание методов

GetGridRegion() публичный Метод

Get grid region information using the region name, this function will block until it can find the region or gives up
public GetGridRegion ( string name, GridLayerType layer, GridRegion &region ) : bool
name string Name of sim you're looking for
layer GridLayerType Layer that you are requesting
region GridRegion Will contain a GridRegion for the sim you're /// looking for if successful, otherwise an empty structure
Результат bool

GridManager() публичный Метод

Constructor
public GridManager ( GridClient client ) : System
client GridClient Instance of GridClient object to associate with this GridManager instance
Результат System

MapItems() публичный Метод

public MapItems ( ulong regionHandle, GridItemType item, GridLayerType layer, int timeoutMS ) : List
regionHandle ulong
item GridItemType
layer GridLayerType
timeoutMS int
Результат List

RequestMainlandSims() публичный Метод

Request data for all mainland (Linden managed) simulators
public RequestMainlandSims ( GridLayerType layer ) : void
layer GridLayerType
Результат void

RequestMapBlocks() публичный Метод

public RequestMapBlocks ( GridLayerType layer, ushort minX, ushort minY, ushort maxX, ushort maxY, bool returnNonExistent ) : void
layer GridLayerType
minX ushort
minY ushort
maxX ushort
maxY ushort
returnNonExistent bool
Результат void

RequestMapItems() публичный Метод

public RequestMapItems ( ulong regionHandle, GridItemType item, GridLayerType layer ) : void
regionHandle ulong
item GridItemType
layer GridLayerType
Результат void

RequestMapLayer() публичный Метод

public RequestMapLayer ( GridLayerType layer ) : void
layer GridLayerType
Результат void

RequestMapRegion() публичный Метод

public RequestMapRegion ( string regionName, GridLayerType layer ) : void
regionName string
layer GridLayerType
Результат void

RequestRegionHandle() публичный Метод

Request the region handle for the specified region UUID
public RequestRegionHandle ( UUID regionID ) : void
regionID UUID UUID of the region to look up
Результат void