Difference between revisions of "TransferRequest"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 40: Line 40:
20 byte field. The first 16 bytes are the ASSET_KEY (AssetID), and the last four bytes are the ASSET_TYPE.
20 byte field. The first 16 bytes are the ASSET_KEY (AssetID), and the last four bytes are the ASSET_TYPE.


[[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