C# Класс Universe.Services.MapService

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

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

Метод Описание
FinishedStartup ( ) : void
Initialize ( IConfigSource config, IRegistryCore registry ) : void
MapAPIRequest ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
MapRequest ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]
Start ( IConfigSource config, IRegistryCore registry ) : void

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

Метод Описание
BuildMapTile ( int regionX, int regionY, List regions ) : Bitmap
BuildMapTile ( int mapView, int regionX, int regionY, List regions ) : Bitmap
CacheMapTexture ( int maplayer, int regionX, int regionY, Bitmap mapTexture, bool forced = false ) : byte[]
CreateCacheDirectories ( string cacheDir ) : void
DisposeTexture ( Bitmap bitmap ) : void
FindCachedImage ( int maplayer, int regionX, int regionY ) : Bitmap
FindCachedImage ( string name ) : byte[]
GetEncoderInfo ( String mimeType ) : System.Drawing.Imaging.ImageCodecInfo
IsStaticBlank ( Bitmap bitmap ) : bool
ResizeBitmap ( Bitmap b, int nWidth, int nHeight ) : Bitmap
SaveCachedImage ( int maplayer, int regionX, int regionY, byte data ) : void

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

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

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

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

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Результат void

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

public MapAPIRequest ( 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[]

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

public MapRequest ( 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[]

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

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Результат void