Property | Type | Description | |
---|---|---|---|
XferID | ulong |
Method | Description | |
---|---|---|
AssetXferUploader ( |
AssetXferUploader constructor
|
|
HandleXferPacket ( ulong xferID, uint packetID, byte data ) : bool |
Process transfer data received from the client.
|
|
RequestCreateInventoryItem ( IClientAPI remoteClient, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void | ||
RequestUpdateInventoryItem ( IClientAPI remoteClient, |
||
RequestUpdateTaskInventoryItem ( IClientAPI remoteClient, |
||
StartUpload ( IClientAPI remoteClient, UUID assetID, UUID transaction, sbyte type, byte data, bool storeLocal, bool tempFile ) : void |
Start asset transfer from the client
|
Method | Description | |
---|---|---|
RequestStartXfer ( ) : void | ||
SendCompleteMessage ( ) : void |
Method | Description | |
---|---|---|
CompleteCreateItem ( uint callbackID ) : void | ||
CompleteItemUpdate ( |
Store the asset for the given item when it has been uploaded.
|
|
CompleteTaskItemUpdate ( |
Store the asset for the given task item when it has been uploaded.
|
|
SaveAssetToFile ( string filename, byte data ) : void |
public AssetXferUploader ( |
||
transactions | ||
scene | IScene | |
transactionID | UUID | |
dumpAssetToFile | bool | /// If true then when the asset is uploaded it is dumped to a file with the format /// String.Format("{6}_{7}_{0:d2}{1:d2}{2:d2}_{3:d2}{4:d2}{5:d2}.dat", /// now.Year, now.Month, now.Day, now.Hour, now.Minute, /// now.Second, m_asset.Name, m_asset.Type); /// for debugging purposes. /// |
return | System |
public HandleXferPacket ( ulong xferID, uint packetID, byte data ) : bool | ||
xferID | ulong | |
packetID | uint | |
data | byte | |
return | bool |
public RequestCreateInventoryItem ( IClientAPI remoteClient, UUID folderID, uint callbackID, string description, string name, sbyte invType, sbyte type, byte wearableType, uint nextOwnerMask ) : void | ||
remoteClient | IClientAPI | |
folderID | UUID | |
callbackID | uint | |
description | string | |
name | string | |
invType | sbyte | |
type | sbyte | |
wearableType | byte | |
nextOwnerMask | uint | |
return | void |
public RequestUpdateInventoryItem ( IClientAPI remoteClient, |
||
remoteClient | IClientAPI | |
item | ||
return | void |
public RequestUpdateTaskInventoryItem ( IClientAPI remoteClient, |
||
remoteClient | IClientAPI | |
taskItem | ||
return | void |
public StartUpload ( 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 | /// Optional data. If present then the asset is created immediately with this data /// rather than requesting an upload from the client. The data must be longer than 2 bytes. /// |
storeLocal | bool | |
tempFile | bool | |
return | void |