C# Class OpenMetaverse.GridManager

Manages grid-wide tasks such as the world map
Afficher le fichier Open project: 3di/3di-viewer-rei-libs Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
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

Method Details

GetGridRegion() public méthode

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
Résultat bool

GridManager() public méthode

Constructor
public GridManager ( GridClient client ) : System
client GridClient Instance of GridClient object to associate with this GridManager instance
Résultat System

MapItems() public méthode

public MapItems ( ulong regionHandle, GridItemType item, GridLayerType layer, int timeoutMS ) : List
regionHandle ulong
item GridItemType
layer GridLayerType
timeoutMS int
Résultat List

RequestMainlandSims() public méthode

Request data for all mainland (Linden managed) simulators
public RequestMainlandSims ( GridLayerType layer ) : void
layer GridLayerType
Résultat void

RequestMapBlocks() public méthode

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
Résultat void

RequestMapItems() public méthode

public RequestMapItems ( ulong regionHandle, GridItemType item, GridLayerType layer ) : void
regionHandle ulong
item GridItemType
layer GridLayerType
Résultat void

RequestMapLayer() public méthode

public RequestMapLayer ( GridLayerType layer ) : void
layer GridLayerType
Résultat void

RequestMapRegion() public méthode

public RequestMapRegion ( string regionName, GridLayerType layer ) : void
regionName string
layer GridLayerType
Résultat void

RequestRegionHandle() public méthode

Request the region handle for the specified region UUID
public RequestRegionHandle ( UUID regionID ) : void
regionID UUID UUID of the region to look up
Résultat void