C# 클래스 OpenSim.Region.CoreModules.Agent.AssetTransaction.AssetTransactionModule

상속: ISharedRegionModule, IAgentAssetTransactions
파일 보기 프로젝트 열기: N3X15/VoxelSim 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetUserTransactions OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions

공개 메소드들

메소드 설명
AssetTransactionModule ( ) : System
Close ( ) : void
HandleItemCreationFromTransaction ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void

Create an inventory item from data that has been received through a transaction. This is called when new clothing or body parts are created. It may also be called in other situations.

HandleItemUpdateFromTransaction ( IClientAPI remoteClient, UUID transactionID, OpenSim.Framework.InventoryItemBase item ) : void

Update an inventory item with data that has been received through a transaction. This is called when clothing or body parts are updated (for instance, with new textures or colours). It may also be called in other situations.

HandleTaskItemUpdateFromTransaction ( IClientAPI remoteClient, SceneObjectPart part, UUID transactionID, TaskInventoryItem item ) : void

Update a task inventory item with data that has been received through a transaction. This is currently called when, for instance, a notecard in a prim is saved. The data is sent up through a single AssetUploadRequest. A subsequent UpdateTaskInventory then references the transaction and comes through this method.

HandleUDPUploadRequest ( IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte data, bool storeLocal, bool tempFile ) : void

Request that a client (agent) begin an asset transfer.

HandleXfer ( IClientAPI remoteClient, ulong xferID, uint packetID, byte data ) : void

Handle asset transfer data packets received in response to the asset upload request in HandleUDPUploadRequest()

Initialise ( Scene scene, IConfigSource config ) : void
NewClient ( IClientAPI client ) : void
PostInitialise ( ) : void
RemoveAgentAssetTransactions ( UUID userID ) : void

Remove the given agent asset transactions. This should be called when a client is departing from a scene (and hence won't be making any more transactions here).

비공개 메소드들

메소드 설명
GetUserTransactions ( UUID userID ) : OpenSim.Region.CoreModules.Agent.AssetTransaction.AgentAssetTransactions

Get the collection of asset transactions for the given user. If one does not already exist, it is created.

메소드 상세

AssetTransactionModule() 공개 메소드

public AssetTransactionModule ( ) : System
리턴 System

Close() 공개 메소드

public Close ( ) : void
리턴 void

HandleItemCreationFromTransaction() 공개 메소드

Create an inventory item from data that has been received through a transaction. This is called when new clothing or body parts are created. It may also be called in other situations.
public HandleItemCreationFromTransaction ( IClientAPI remoteClient, UUID transactionID, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void
remoteClient IClientAPI
transactionID UUID
folderID UUID
callbackID uint
description string
name string
invType sbyte
type sbyte
wearableType byte
nextOwnerMask uint
리턴 void

HandleItemUpdateFromTransaction() 공개 메소드

Update an inventory item with data that has been received through a transaction. This is called when clothing or body parts are updated (for instance, with new textures or colours). It may also be called in other situations.
public HandleItemUpdateFromTransaction ( IClientAPI remoteClient, UUID transactionID, OpenSim.Framework.InventoryItemBase item ) : void
remoteClient IClientAPI
transactionID UUID
item OpenSim.Framework.InventoryItemBase
리턴 void

HandleTaskItemUpdateFromTransaction() 공개 메소드

Update a task inventory item with data that has been received through a transaction. This is currently called when, for instance, a notecard in a prim is saved. The data is sent up through a single AssetUploadRequest. A subsequent UpdateTaskInventory then references the transaction and comes through this method.
public HandleTaskItemUpdateFromTransaction ( IClientAPI remoteClient, SceneObjectPart part, UUID transactionID, TaskInventoryItem item ) : void
remoteClient IClientAPI
part OpenSim.Region.Framework.Scenes.SceneObjectPart
transactionID UUID
item OpenSim.Framework.TaskInventoryItem
리턴 void

HandleUDPUploadRequest() 공개 메소드

Request that a client (agent) begin an asset transfer.
public HandleUDPUploadRequest ( IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte data, bool storeLocal, bool tempFile ) : void
remoteClient IClientAPI
assetID UUID
transaction UUID
type sbyte
data byte
storeLocal bool
tempFile bool
리턴 void

HandleXfer() 공개 메소드

Handle asset transfer data packets received in response to the asset upload request in HandleUDPUploadRequest()
public HandleXfer ( IClientAPI remoteClient, ulong xferID, uint packetID, byte data ) : void
remoteClient IClientAPI
xferID ulong
packetID uint
data byte
리턴 void

Initialise() 공개 메소드

public Initialise ( Scene scene, IConfigSource config ) : void
scene OpenSim.Region.Framework.Scenes.Scene
config IConfigSource
리턴 void

NewClient() 공개 메소드

public NewClient ( IClientAPI client ) : void
client IClientAPI
리턴 void

PostInitialise() 공개 메소드

public PostInitialise ( ) : void
리턴 void

RemoveAgentAssetTransactions() 공개 메소드

Remove the given agent asset transactions. This should be called when a client is departing from a scene (and hence won't be making any more transactions here).
public RemoveAgentAssetTransactions ( UUID userID ) : void
userID UUID
리턴 void