C# 클래스 WhiteCore.Modules.Attachments.AttachmentsModule

상속: IAttachmentsModule, INonSharedRegionModule
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev

공개 프로퍼티들

프로퍼티 타입 설명
AvatarFactory IAvatarFactory

보호된 프로퍼티들

프로퍼티 타입 설명
m_allowMultipleAttachments bool
m_maxNumberOfAttachments int
m_scene IScene

공개 메소드들

메소드 설명
AddRegion ( IScene scene ) : void
AttachObjectFromInworldObject ( uint localID, IClientAPI remoteClient, ISceneEntity group, int attachmentPt, bool isTempAttach ) : bool
Close ( ) : void
DetachSingleAttachmentToGround ( UUID itemID, IClientAPI remoteClient ) : void
DetachSingleAttachmentToGround ( UUID itemID, IClientAPI remoteClient, System.Vector3 forcedPos, Quaternion forcedRotation ) : void
DetachSingleAttachmentToInventory ( UUID itemID, IClientAPI remoteClient ) : void
GetAttachmentsForAvatar ( UUID avatarID ) : ISceneEntity[]

Get all of the attachments for the given avatar

Initialise ( IConfigSource source ) : void
RegionLoaded ( IScene scene ) : void
RemoveRegion ( IScene scene ) : void
ResumeAvatar ( IScenePresence presence ) : void
RezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, int attachmentPt, bool updateUUIDs ) : ISceneEntity
SendAttachmentsToPresence ( IScenePresence receiver, IScenePresence sender ) : void
SendScriptEventToAttachments ( UUID avatarID, string eventName, object args ) : void

Send a script event to this scene presence's attachments

SuspendAvatar ( IScenePresence presence, WhiteCore.Framework.Services.GridRegion destination ) : void
UpdateAttachmentPosition ( IClientAPI client, ISceneEntity sog, uint localID, Vector3 pos ) : void

Update the position of the given attachment

보호된 메소드들

메소드 설명
AgentIsLeaving ( IScenePresence presence, WhiteCore.Framework.Services.GridRegion destination ) : void
ClientAttachObject ( IClientAPI remoteClient, uint objectLocalID, int attachmentPt, bool silent ) : void
ClientDetachObject ( uint objectLocalID, IClientAPI remoteClient ) : void
ClientDropObject ( uint objectLocalID, IClientAPI remoteClient ) : void
ClientRezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, int attachmentPt ) : UUID
ClientUpdateAttachmentPosition ( uint objectLocalID, System.Vector3 pos, IClientAPI remoteClient, bool SaveUpdate ) : void
DetachSingleAttachmentGroupToInventoryInternal ( UUID itemID, IClientAPI remoteClient, bool fireEvent, ISceneEntity group ) : void
DetachSingleAttachmentToInventoryInternal ( UUID itemID, IClientAPI remoteClient, bool fireEvent ) : void
FindAttachmentPoint ( IClientAPI remoteClient, uint localID, ISceneEntity group, int attachmentPt, UUID assetID, bool forceUpdatePrim, bool isTempAttach ) : void

Attach the object to the avatar

SendKillEntity ( uint rootPart ) : void
SubscribeToClientEvents ( IClientAPI client ) : void
UnsubscribeFromClientEvents ( IClientAPI client ) : void
UpdateKnownItem ( IClientAPI remoteClient, ISceneEntity grp, UUID itemID, UUID agentID ) : UUID

Update the attachment asset for the new sog details if they have changed.

메소드 상세

AddRegion() 공개 메소드

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

AgentIsLeaving() 보호된 메소드

protected AgentIsLeaving ( IScenePresence presence, WhiteCore.Framework.Services.GridRegion destination ) : void
presence IScenePresence
destination WhiteCore.Framework.Services.GridRegion
리턴 void

AttachObjectFromInworldObject() 공개 메소드

public AttachObjectFromInworldObject ( uint localID, IClientAPI remoteClient, ISceneEntity group, int attachmentPt, bool isTempAttach ) : bool
localID uint
remoteClient IClientAPI
group ISceneEntity
attachmentPt int
isTempAttach bool
리턴 bool

ClientAttachObject() 보호된 메소드

protected ClientAttachObject ( IClientAPI remoteClient, uint objectLocalID, int attachmentPt, bool silent ) : void
remoteClient IClientAPI
objectLocalID uint
attachmentPt int
silent bool
리턴 void

ClientDetachObject() 보호된 메소드

protected ClientDetachObject ( uint objectLocalID, IClientAPI remoteClient ) : void
objectLocalID uint
remoteClient IClientAPI
리턴 void

ClientDropObject() 보호된 메소드

protected ClientDropObject ( uint objectLocalID, IClientAPI remoteClient ) : void
objectLocalID uint
remoteClient IClientAPI
리턴 void

ClientRezSingleAttachmentFromInventory() 보호된 메소드

protected ClientRezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, int attachmentPt ) : UUID
remoteClient IClientAPI
itemID UUID
attachmentPt int
리턴 UUID

ClientUpdateAttachmentPosition() 보호된 메소드

protected ClientUpdateAttachmentPosition ( uint objectLocalID, System.Vector3 pos, IClientAPI remoteClient, bool SaveUpdate ) : void
objectLocalID uint
pos System.Vector3
remoteClient IClientAPI
SaveUpdate bool
리턴 void

Close() 공개 메소드

public Close ( ) : void
리턴 void

DetachSingleAttachmentGroupToInventoryInternal() 보호된 메소드

protected DetachSingleAttachmentGroupToInventoryInternal ( UUID itemID, IClientAPI remoteClient, bool fireEvent, ISceneEntity group ) : void
itemID UUID
remoteClient IClientAPI
fireEvent bool
group ISceneEntity
리턴 void

DetachSingleAttachmentToGround() 공개 메소드

public DetachSingleAttachmentToGround ( UUID itemID, IClientAPI remoteClient ) : void
itemID UUID
remoteClient IClientAPI
리턴 void

DetachSingleAttachmentToGround() 공개 메소드

public DetachSingleAttachmentToGround ( UUID itemID, IClientAPI remoteClient, System.Vector3 forcedPos, Quaternion forcedRotation ) : void
itemID UUID
remoteClient IClientAPI
forcedPos System.Vector3
forcedRotation Quaternion
리턴 void

DetachSingleAttachmentToInventory() 공개 메소드

public DetachSingleAttachmentToInventory ( UUID itemID, IClientAPI remoteClient ) : void
itemID UUID
remoteClient IClientAPI
리턴 void

DetachSingleAttachmentToInventoryInternal() 보호된 메소드

protected DetachSingleAttachmentToInventoryInternal ( UUID itemID, IClientAPI remoteClient, bool fireEvent ) : void
itemID UUID
remoteClient IClientAPI
fireEvent bool
리턴 void

FindAttachmentPoint() 보호된 메소드

Attach the object to the avatar
protected FindAttachmentPoint ( IClientAPI remoteClient, uint localID, ISceneEntity group, int attachmentPt, UUID assetID, bool forceUpdatePrim, bool isTempAttach ) : void
remoteClient IClientAPI The client that is having the attachment done
localID uint The localID (SceneObjectPart) that is being attached (for the attach script event)
group ISceneEntity The group (SceneObjectGroup) that is being attached
attachmentPt int The point to where the attachment will go
assetID UUID /// Force updating of the prim the next time the user attempts to detach it
forceUpdatePrim bool
isTempAttach bool Is a temporary attachment
리턴 void

GetAttachmentsForAvatar() 공개 메소드

Get all of the attachments for the given avatar
public GetAttachmentsForAvatar ( UUID avatarID ) : ISceneEntity[]
avatarID UUID The avatar whose attachments will be returned
리턴 ISceneEntity[]

Initialise() 공개 메소드

public Initialise ( IConfigSource source ) : void
source IConfigSource
리턴 void

RegionLoaded() 공개 메소드

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

RemoveRegion() 공개 메소드

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

ResumeAvatar() 공개 메소드

public ResumeAvatar ( IScenePresence presence ) : void
presence IScenePresence
리턴 void

RezSingleAttachmentFromInventory() 공개 메소드

public RezSingleAttachmentFromInventory ( IClientAPI remoteClient, UUID itemID, UUID assetID, int attachmentPt, bool updateUUIDs ) : ISceneEntity
remoteClient IClientAPI
itemID UUID
assetID UUID
attachmentPt int
updateUUIDs bool
리턴 ISceneEntity

SendAttachmentsToPresence() 공개 메소드

public SendAttachmentsToPresence ( IScenePresence receiver, IScenePresence sender ) : void
receiver IScenePresence
sender IScenePresence
리턴 void

SendKillEntity() 보호된 메소드

protected SendKillEntity ( uint rootPart ) : void
rootPart uint
리턴 void

SendScriptEventToAttachments() 공개 메소드

Send a script event to this scene presence's attachments
public SendScriptEventToAttachments ( UUID avatarID, string eventName, object args ) : void
avatarID UUID The avatar to fire the event for
eventName string The name of the event
args object The arguments for the event
리턴 void

SubscribeToClientEvents() 보호된 메소드

protected SubscribeToClientEvents ( IClientAPI client ) : void
client IClientAPI
리턴 void

SuspendAvatar() 공개 메소드

public SuspendAvatar ( IScenePresence presence, WhiteCore.Framework.Services.GridRegion destination ) : void
presence IScenePresence
destination WhiteCore.Framework.Services.GridRegion
리턴 void

UnsubscribeFromClientEvents() 보호된 메소드

protected UnsubscribeFromClientEvents ( IClientAPI client ) : void
client IClientAPI
리턴 void

UpdateAttachmentPosition() 공개 메소드

Update the position of the given attachment
public UpdateAttachmentPosition ( IClientAPI client, ISceneEntity sog, uint localID, Vector3 pos ) : void
client IClientAPI
sog ISceneEntity
localID uint
pos Vector3
리턴 void

UpdateKnownItem() 보호된 메소드

Update the attachment asset for the new sog details if they have changed.
protected UpdateKnownItem ( IClientAPI remoteClient, ISceneEntity grp, UUID itemID, UUID agentID ) : UUID
remoteClient IClientAPI
grp ISceneEntity
itemID UUID
agentID UUID
리턴 UUID

프로퍼티 상세

AvatarFactory 공개적으로 프로퍼티

public IAvatarFactory AvatarFactory
리턴 IAvatarFactory

m_allowMultipleAttachments 보호되어 있는 프로퍼티

protected bool m_allowMultipleAttachments
리턴 bool

m_maxNumberOfAttachments 보호되어 있는 프로퍼티

protected int m_maxNumberOfAttachments
리턴 int

m_scene 보호되어 있는 프로퍼티

protected IScene m_scene
리턴 IScene