C# 클래스 Universe.Services.MapService

상속: IService, IMapService
파일 보기 프로젝트 열기: Virtual-Universe/Virtual-Universe

공개 메소드들

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