C# 클래스 OpenMetaverse.GridManager

Manages grid-wide tasks such as the world map
파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 메소드들

메소드 설명
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