C# Class WhiteCore.Modules.Web.WebHttpTextureService

Inheritance: IService, IWebHttpTextureService
Afficher le fichier Open project: WhiteCoreSim/WhiteCore-Dev

Protected Properties

Свойство Type Description
_gridNick string
_registry IRegistryCore
_server IHttpServer

Méthodes publiques

Méthode Description
FinishedStartup ( ) : void
GetAvatarImageURL ( string imageURL ) : string
GetImageURL ( string imageURL ) : string
GetRegionWorldViewURL ( UUID RegionID ) : string
GetTextureURL ( UUID textureID ) : string
Initialize ( IConfigSource config, IRegistryCore registry ) : void
OnHTTPGetAvatarImage ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
OnHTTPGetImage ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
OnHTTPGetTextureImage ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
Start ( IConfigSource config, IRegistryCore registry ) : void

Private Methods

Méthode Description
GetEncoderInfo ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo
ResizeBitmap ( Image b, int nWidth, int nHeight ) : Bitmap

Method Details

FinishedStartup() public méthode

public FinishedStartup ( ) : void
Résultat void

GetAvatarImageURL() public méthode

public GetAvatarImageURL ( string imageURL ) : string
imageURL string
Résultat string

GetImageURL() public méthode

public GetImageURL ( string imageURL ) : string
imageURL string
Résultat string

GetRegionWorldViewURL() public méthode

public GetRegionWorldViewURL ( UUID RegionID ) : string
RegionID UUID
Résultat string

GetTextureURL() public méthode

public GetTextureURL ( UUID textureID ) : string
textureID UUID
Résultat string

Initialize() public méthode

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

OnHTTPGetAvatarImage() public méthode

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

OnHTTPGetImage() public méthode

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

OnHTTPGetTextureImage() public méthode

public OnHTTPGetTextureImage ( string path, Stream request, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest httpRequest, WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpResponse httpResponse ) : byte[]
path string
request Stream
httpRequest WhiteCore.Framework.Servers.HttpServer.Implementation.OSHttpRequest
httpResponse WhiteCore.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

Property Details

_gridNick protected_oe property

protected string _gridNick
Résultat string

_registry protected_oe property

protected IRegistryCore _registry
Résultat IRegistryCore

_server protected_oe property

protected IHttpServer _server
Résultat IHttpServer