C# Class Universe.Services.MapService

Inheritance: IService, IMapService
Afficher le fichier Open project: Virtual-Universe/Virtual-Universe

Méthodes publiques

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

Private Methods

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

Method Details

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

Initialize() public méthode

public Initialize ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void

MapAPIRequest() public méthode

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
Résultat byte[]

MapRequest() public méthode

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
Résultat byte[]

Start() public méthode

public Start ( IConfigSource config, IRegistryCore registry ) : void
config IConfigSource
registry IRegistryCore
Résultat void