(I think my last post my have gone to John directly, retrying for the lists...)
Alrighty, lets see if I'm parsing this right. I'd like to try and get a list of inventory. Does the following look correct? Any idea what I'd pass in to get the root folder, perhaps it's UUID is "0000000000000000" ? Low 00332 - FetchInventoryDescendents - Untrusted - Unencoded 0065 InventoryData (01) 0719 OwnerID (LLUUID / 1) 1025 FolderID (LLUUID / 1) 1118 SortOrder (S32 / 1) 1374 FetchFolders (BOOL / 1) 1485 FetchItems (BOOL / 1) 1297 AgentData (01) 0219 AgentID (LLUUID / 1) public static Packet FetchInventoryDescendents(ProtocolManager protocol, LLUUID agentID, LLUUID folderID) { int packetLength = 8; // header packetLength += 16; // OwnerID (UUID) packetLength += 16; // FolderID (UUID) packetLength += 4; // Sort Order (signed integer? - S32) packetLength += 1; // FetchFolders (byte? - BOOL) packetLength += 1; // FetchItmes (byte? - BOOL) packetLength += 16; // AgentID (UUID) Packet packet = new Packet("FetchInventoryDescendents", protocol, packetLength ); int pos = 8; // Leave room for header // OwnerID Array.Copy(agentID.Data, 0, packet.Data, pos, 16); pos += 16; // FolderID Array.Copy(folderID.Data, 0, packet.Data, pos, 16); pos += 16; // Sort Order (Any ideas on what the valid values are here?) Array.Copy(BitConverter.GetBytes( (int)0 ), 0, packet.Data, pos, 4); pos += 4; // FetchFolders packet.Data[pos] = 1; pos += 1; // FetchItemss packet.Data[pos] = 1; pos += 1; // AgentID Array.Copy(agentID.Data, 0, packet.Data, pos, 16); pos += 16; return packet; } Thanks! _______________________________________________ libsecondlife-dev mailing list libsecondlife-dev@gna.org https://mail.gna.org/listinfo/libsecondlife-dev