C# 클래스 Universe.Modules.Entities.Media.MoapModule

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

보호된 프로퍼티들

프로퍼티 타입 설명
m_isEnabled bool
m_omCapUrls string>.Dictionary
m_omCapUsers UUID>.Dictionary
m_omuCapUrls string>.Dictionary
m_omuCapUsers UUID>.Dictionary
m_scene IScene

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
ClearMediaEntry ( ISceneChildEntity part, int face ) : void
Close ( ) : void
GetMediaEntry ( ISceneChildEntity part, int face ) : OpenMetaverse.MediaEntry
Initialize ( IConfigSource configSource ) : void
OnDeregisterCaps ( UUID agentID, IRegionClientCapsService caps ) : void
OnRegisterCaps ( UUID agentID, IHttpServer server ) : OSDMap
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
SetMediaEntry ( ISceneChildEntity part, int face, OpenMetaverse.MediaEntry me ) : void

보호된 메소드들

메소드 설명
CheckFaceParam ( ISceneChildEntity part, int face ) : void

Check that the face number is valid for the given prim.

CheckUrlAgainstWhitelist ( string rawUrl, string whitelist ) : bool

Check the given url against the given whitelist.

HandleObjectMediaMessage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

Sets or gets per face media textures.

HandleObjectMediaNavigateMessage ( string path, Stream request, OSHttpRequest httpRequest, OSHttpResponse httpResponse ) : byte[]

Received from the viewer if a user has changed the url of a media texture.

HandleObjectMediaRequest ( ObjectMediaRequest omr ) : byte[]

Handle a fetch request for media textures

HandleObjectMediaUpdate ( string path, ObjectMediaUpdate omu ) : byte[]

Handle an update of media textures.

SetPartMediaFlags ( ISceneChildEntity part, int face, bool flag ) : void

Set the media flags on the texture face of the given part.

The fact that we need a separate function to do what should be a simple one line operation is BUTT UGLY.

UpdateMediaUrl ( ISceneChildEntity part, UUID updateId ) : void

Update the media url of the given part

메소드 상세

AddRegion() 공개 메소드

public AddRegion ( IScene scene ) : void
scene IScene
리턴 void

CheckFaceParam() 보호된 메소드

Check that the face number is valid for the given prim.
protected CheckFaceParam ( ISceneChildEntity part, int face ) : void
part ISceneChildEntity
face int
리턴 void

CheckUrlAgainstWhitelist() 보호된 메소드

Check the given url against the given whitelist.
protected CheckUrlAgainstWhitelist ( string rawUrl, string whitelist ) : bool
rawUrl string
whitelist string
리턴 bool

ClearMediaEntry() 공개 메소드

public ClearMediaEntry ( ISceneChildEntity part, int face ) : void
part ISceneChildEntity
face int
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

GetMediaEntry() 공개 메소드

public GetMediaEntry ( ISceneChildEntity part, int face ) : OpenMetaverse.MediaEntry
part ISceneChildEntity
face int
리턴 OpenMetaverse.MediaEntry

HandleObjectMediaMessage() 보호된 메소드

Sets or gets per face media textures.
protected HandleObjectMediaMessage ( 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[]

HandleObjectMediaNavigateMessage() 보호된 메소드

Received from the viewer if a user has changed the url of a media texture.
protected HandleObjectMediaNavigateMessage ( 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[]

HandleObjectMediaRequest() 보호된 메소드

Handle a fetch request for media textures
protected HandleObjectMediaRequest ( ObjectMediaRequest omr ) : byte[]
omr OpenMetaverse.Messages.Linden.ObjectMediaRequest
리턴 byte[]

HandleObjectMediaUpdate() 보호된 메소드

Handle an update of media textures.
protected HandleObjectMediaUpdate ( string path, ObjectMediaUpdate omu ) : byte[]
path string Path on which this request was made
omu OpenMetaverse.Messages.Linden.ObjectMediaUpdate
리턴 byte[]

Initialize() 공개 메소드

public Initialize ( IConfigSource configSource ) : void
configSource IConfigSource
리턴 void

OnDeregisterCaps() 공개 메소드

public OnDeregisterCaps ( UUID agentID, IRegionClientCapsService caps ) : void
agentID UUID
caps IRegionClientCapsService
리턴 void

OnRegisterCaps() 공개 메소드

public OnRegisterCaps ( UUID agentID, IHttpServer server ) : OSDMap
agentID UUID
server IHttpServer
리턴 OSDMap

RegionLoaded() 공개 메소드

public RegionLoaded ( IScene scene ) : void
scene IScene
리턴 void

RemoveRegion() 공개 메소드

public RemoveRegion ( IScene scene ) : void
scene IScene
리턴 void

SetMediaEntry() 공개 메소드

public SetMediaEntry ( ISceneChildEntity part, int face, OpenMetaverse.MediaEntry me ) : void
part ISceneChildEntity
face int
me OpenMetaverse.MediaEntry
리턴 void

SetPartMediaFlags() 보호된 메소드

Set the media flags on the texture face of the given part.
The fact that we need a separate function to do what should be a simple one line operation is BUTT UGLY.
protected SetPartMediaFlags ( ISceneChildEntity part, int face, bool flag ) : void
part ISceneChildEntity
face int
flag bool
리턴 void

UpdateMediaUrl() 보호된 메소드

Update the media url of the given part
protected UpdateMediaUrl ( ISceneChildEntity part, UUID updateId ) : void
part ISceneChildEntity
updateId UUID /// The id to attach to this update. Normally, this is the user that changed the /// texture ///
리턴 void

프로퍼티 상세

m_isEnabled 보호되어 있는 프로퍼티

Is this module enabled?
protected bool m_isEnabled
리턴 bool

m_omCapUrls 보호되어 있는 프로퍼티

Track the ObjectMedia capabilities given to users keyed by agent. Lock m_omCapUsers to manipulate.
protected Dictionary m_omCapUrls
리턴 string>.Dictionary

m_omCapUsers 보호되어 있는 프로퍼티

Track the ObjectMedia capabilities given to users keyed by path
protected Dictionary m_omCapUsers
리턴 UUID>.Dictionary

m_omuCapUrls 보호되어 있는 프로퍼티

Track the ObjectMediaUpdate capabilities given to users keyed by agent. Lock m_omuCapUsers to manipulate
protected Dictionary m_omuCapUrls
리턴 string>.Dictionary

m_omuCapUsers 보호되어 있는 프로퍼티

Track the ObjectMediaUpdate capabilities given to users keyed by path
protected Dictionary m_omuCapUsers
리턴 UUID>.Dictionary

m_scene 보호되어 있는 프로퍼티

The scene to which this module is attached
protected IScene m_scene
리턴 IScene