C# Класс Universe.Modules.WorldMap.WorldMapModule

Наследование: INonSharedRegionModule, IWorldMapModule
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
m_Enabled bool
m_scene IScene

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

Метод Описание
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

Защищенные методы

Метод Описание
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

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

Метод Описание
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

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

AddHandlers() защищенный Метод

protected AddHandlers ( ) : void
Результат void

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

public AddRegion ( IScene scene ) : void
scene IScene
Результат void

ClickedOnTile() защищенный Метод

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
Результат void

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

public Close ( ) : void
Результат void

GetAndSendMapBlocks() защищенный Метод

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
Результат void

GetAndSendTerrainBlocks() защищенный Метод

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
Результат void

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

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
Результат void

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

public Initialize ( IConfigSource source ) : void
source IConfigSource
Результат void

Map2BlockFromGridRegion() защищенный Метод

protected Map2BlockFromGridRegion ( Universe.Framework.Services.GridRegion r ) : List
r Universe.Framework.Services.GridRegion
Результат List

MapBlockFromGridRegion() защищенный Метод

protected MapBlockFromGridRegion ( Universe.Framework.Services.GridRegion r, int x, int y ) : MapBlockData
r Universe.Framework.Services.GridRegion
x int
y int
Результат Universe.Framework.ClientInterfaces.MapBlockData

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

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
Результат byte[]

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

public RegionLoaded ( IScene scene ) : void
scene IScene
Результат void

RemoveHandlers() защищенный Метод

protected RemoveHandlers ( ) : void
Результат void

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

public RemoveRegion ( IScene scene ) : void
scene IScene
Результат void

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

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
Результат void

SearchMapBlockFromGridRegion() защищенный Метод

protected SearchMapBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
region Universe.Framework.Services.GridRegion
Результат Universe.Framework.ClientInterfaces.MapBlockData

TerrainBlockFromGridRegion() защищенный Метод

protected TerrainBlockFromGridRegion ( Universe.Framework.Services.GridRegion region ) : MapBlockData
region Universe.Framework.Services.GridRegion
Результат Universe.Framework.ClientInterfaces.MapBlockData

Описание свойств

m_Enabled защищенное свойство

protected bool m_Enabled
Результат bool

m_scene защищенное свойство

protected IScene m_scene
Результат IScene