Difference between revisions of "TransferRequest"

From Second Life Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 17: Line 17:
==Usage and Notes==
==Usage and Notes==
This message is only used by the [[Transfer Manager]] system.
This message is only used by the [[Transfer Manager]] system.
TransferID is a client-generated random LLUUID.


Source Types:
Source Types:
Line 36: Line 38:
Parameters:
Parameters:


I can't figure out what the values correspond to, however I can successfully fetch a TransferInfo reply by sending the following:
20 byte field. The first 16 bytes are the ASSET_KEY (AssetID), and the last four bytes are the ASSET_TYPE.
 
14 00 [[ASSET ID]] [[ASSET TYPE]] 00 00 00
 
I'm guessing the 14 00 might be a UInt16 length indicator (which is different from the standard variable specification which is represented as a UInt8. The three bytes at the end may be flags or padding. I've requested additional info from SLDev --[[User:Tomm Olifone|Tomm Olifone]] 18:57, 4 November 2008 (UTC)


[[Category:Messages]]
Asset Types:
:AT_TEXTURE = 0 // Stored in typical j2c stream format
:AT_SOUND = 1
:AT_CALLINGCARD = 2
:AT_LANDMARK = 3
:AT_SCRIPT = 4
:AT_CLOTHING = 5
:AT_OBJECT = 6
:AT_NOTECARD = 7
:AT_CATEGORY = 8
:AT_ROOT_CATEGORY = 9
:AT_LSL_TEXT = 10
:AT_LSL_BYTECODE = 11,
:AT_TEXTURE_TGA = 12 // uncompressed TGA texture
:AT_BODYPART = 13
:AT_TRASH = 14 //Folder type
:AT_SNAPSHOT_CATEGORY = 15 //For the snapshot folder, shapshots themselves will be textures
:AT_LOST_AND_FOUND = 16 //Folder type
:AT_SOUND_WAV = 17 //Uncompressed WAV
:AT_IMAGE_TGA = 18 // NOT a texture
:AT_IMAGE_JPEG = 19
:AT_ANIMATION = 20
:AT_GESTURE = 21
:AT_SIMSTATE = 22

Latest revision as of 07:16, 3 April 2009

Message Layout

{
	TransferRequest Low NotTrusted Zerocoded
	{
		TransferInfo		Single
		{	TransferID		LLUUID	}
		{	ChannelType		S32	}
		{	SourceType		S32	}
		{	Priority		F32	}
		{	Params			Variable	2	}
	}
}

Usage and Notes

This message is only used by the Transfer Manager system.

TransferID is a client-generated random LLUUID.

Source Types:

LLTST_UNKNOWN = 0
LLTST_FILE = 1
LLTST_ASSET = 2
LLTST_SIM_INV_ITEM = 3
LLTST_SIM_ESTATE = 4
LLTST_NUM_TYPES = 5

Channel Types:

LLTCT_UNKNOWN = 0
LLTCT_MISC = 1
LLTCT_ASSET = 2
LLTCT_NUM_TYPES = 3

Parameters:

20 byte field. The first 16 bytes are the ASSET_KEY (AssetID), and the last four bytes are the ASSET_TYPE.

Asset Types:

AT_TEXTURE = 0 // Stored in typical j2c stream format
AT_SOUND = 1
AT_CALLINGCARD = 2
AT_LANDMARK = 3
AT_SCRIPT = 4
AT_CLOTHING = 5
AT_OBJECT = 6
AT_NOTECARD = 7
AT_CATEGORY = 8
AT_ROOT_CATEGORY = 9
AT_LSL_TEXT = 10
AT_LSL_BYTECODE = 11,
AT_TEXTURE_TGA = 12 // uncompressed TGA texture
AT_BODYPART = 13
AT_TRASH = 14 //Folder type
AT_SNAPSHOT_CATEGORY = 15 //For the snapshot folder, shapshots themselves will be textures
AT_LOST_AND_FOUND = 16 //Folder type
AT_SOUND_WAV = 17 //Uncompressed WAV
AT_IMAGE_TGA = 18 // NOT a texture
AT_IMAGE_JPEG = 19
AT_ANIMATION = 20
AT_GESTURE = 21
AT_SIMSTATE = 22