C# Class Universe.Modules.WorldMap.WorldMapModule

Inheritance: INonSharedRegionModule, IWorldMapModule
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Protected Properties

Свойство Type Description
m_Enabled bool
m_scene IScene

Méthodes publiques

Méthode Description
AddRegion ( IScene scene ) : void
Close ( ) : void
HandleMapItemRequest ( IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle ) : void
Initialize ( IConfigSource source ) : void
OnHTTPGetMapImage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
RequestMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void

Requests map blocks in area of minX, maxX, minY, MaxY in world coordinates

Méthodes protégées

Méthode Description
AddHandlers ( ) : void
ClickedOnTile ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
GetAndSendMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
GetAndSendTerrainBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
Map2BlockFromGridRegion ( Universe.Framework.Services.GridRegion r ) : List
MapBlockFromGridRegion ( Universe.Framework.Services.GridRegion r, int x, int y ) : MapBlockData
RemoveHandlers ( ) : void
SearchMapBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
TerrainBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData

Private Methods

Méthode Description
GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo
GetMapBlocks ( ) : void
GetMapItems ( ) : void
OnClosingClient ( IClientAPI client ) : void
OnMapNameRequest ( IClientAPI remoteClient, string mapName, uint flags ) : void
OnNewClient ( IClientAPI client ) : void

Registered for event

Method Details

AddHandlers() protected méthode

protected AddHandlers ( ) : void
Résultat void

AddRegion() public méthode

public AddRegion ( IScene scene ) : void
scene IScene
Résultat void

ClickedOnTile() protected méthode

protected ClickedOnTile ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

GetAndSendMapBlocks() protected méthode

protected GetAndSendMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
Résultat void

GetAndSendTerrainBlocks() protected méthode

protected GetAndSendTerrainBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
Résultat void

HandleMapItemRequest() public méthode

public HandleMapItemRequest ( IClientAPI remoteClient, uint flags, uint EstateID, bool godlike, uint itemtype, ulong regionhandle ) : void
remoteClient IClientAPI
flags uint
EstateID uint
godlike bool
itemtype uint
regionhandle ulong
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource source ) : void
source IConfigSource
Résultat void

Map2BlockFromGridRegion() protected méthode

protected Map2BlockFromGridRegion ( Universe.Framework.Services.GridRegion r ) : List
r Universe.Framework.Services.GridRegion
Résultat List

MapBlockFromGridRegion() protected méthode

protected MapBlockFromGridRegion ( Universe.Framework.Services.GridRegion r, int x, int y ) : MapBlockData
r Universe.Framework.Services.GridRegion
x int
y int
Résultat Universe.Framework.ClientInterfaces.MapBlockData

OnHTTPGetMapImage() public méthode

public OnHTTPGetMapImage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest Universe.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse Universe.Framework.Servers.HttpServer.Implementation.OSHttpResponse
Résultat byte[]

RegionLoaded() public méthode

public RegionLoaded ( IScene scene ) : void
scene IScene
Résultat void

RemoveHandlers() protected méthode

protected RemoveHandlers ( ) : void
Résultat void

RemoveRegion() public méthode

public RemoveRegion ( IScene scene ) : void
scene IScene
Résultat void

RequestMapBlocks() public méthode

Requests map blocks in area of minX, maxX, minY, MaxY in world coordinates
public RequestMapBlocks ( IClientAPI remoteClient, int minX, int minY, int maxX, int maxY, uint flag ) : void
remoteClient IClientAPI
minX int
minY int
maxX int
maxY int
flag uint
Résultat void

SearchMapBlockFromGridRegion() protected méthode

protected SearchMapBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
region Universe.Framework.Services.GridRegion
Résultat Universe.Framework.ClientInterfaces.MapBlockData

TerrainBlockFromGridRegion() protected méthode

protected TerrainBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
region Universe.Framework.Services.GridRegion
Résultat Universe.Framework.ClientInterfaces.MapBlockData

Property Details

m_Enabled protected_oe property

protected bool m_Enabled
Résultat bool

m_scene protected_oe property

protected IScene m_scene
Résultat IScene