Difference between revisions of "AuctionQueryHeadersResponseMessage"
From SWGANH Wiki
(→Tags) |
(→Struct) |
||
| Line 5: | Line 5: | ||
===Struct=== | ===Struct=== | ||
---- | ---- | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | {| class="wikitable" | |
| − | + | |{{short}}||Operand Count | |
| − | + | |- | |
| − | + | |{{int}}||Opcode | |
| − | + | |- | |
| − | + | |{{int}}||Page count | |
| − | + | |- | |
| − | + | |{{int}}||(2 = item listing, 4 = auctions listing) | |
| − | + | |- | |
| − | + | |{{uint}}||TScount: Number of unique terminals and unique sellers | |
| − | + | |} | |
| − | + | {{beginlist|terminals & sellers|TScount}} | |
| − | + | :{| class="wikitable" | |
| − | + | |{{a_string}}||Terminal description | |
| − | + | |} | |
| − | + | :{{beginlist|auction owners|unknown}} | |
| − | + | ::{| class="wikitable" | |
| − | } | + | |{{a_string}}||Auction Owner Name |
| − | + | |} | |
| + | :{{endlist|auction owners}} | ||
| + | {{endlist|terminals & sellers}} | ||
| + | {| class="wikitable" | ||
| + | |{{int}}||(unique??) item names count | ||
| + | |} | ||
| + | {{beginlist|item names|item names count}} | ||
| + | :{| class="wikitable" | ||
| + | |{{u_string}}||Item name | ||
| + | |} | ||
| + | {{endlist|items names}} | ||
| + | {| class="wikitable" | ||
| + | |{{int}}||item descriptions count (ie nr of auctions) | ||
| + | |} | ||
| + | {{beginlist|items descriptions|item descriptions count}} | ||
| + | :{| class="wikitable" | ||
| + | |{{long}}||Item Id | ||
| + | |- | ||
| + | |{{byte}}||List ID of item description string (?) | ||
| + | |- | ||
| + | |{{int}}||Item price | ||
| + | |- | ||
| + | |{{int}}||Remaining Auction / instant sell time in seconds | ||
| + | |- | ||
| + | |{{byte}}||0 = Auction 1 = instant | ||
| + | |- | ||
| + | |{{short}}||List id of bazaar terminal string | ||
| + | |- | ||
| + | |{{long}}||owner id | ||
| + | |- | ||
| + | |{{short}}||List id of sellername string | ||
| + | |- | ||
| + | |{{byte}}||Sub category | ||
| + | |- | ||
| + | |{{byte}}||Main category | ||
| + | |- | ||
| + | |{{byte}}||Sub Sub category (?) | ||
| + | |- | ||
| + | |{{byte}}||Sub Sub Sub category (?) | ||
| + | |} | ||
| + | {{endlist|items descriptions}} | ||
===Variable Descriptions=== | ===Variable Descriptions=== | ||
Revision as of 06:53, 10 April 2007
Struct
<terminals & sellers count=TScount>
<terminals & sellers/>
<item names count=item names count>
<items names/>
<items descriptions count=item descriptions count>
<items descriptions/>
Variable DescriptionsOperand_Count = 9 Opcode = FA500E52
|
Tags
|
Sample Code
Insert Code Snippet Here...
Sample Packet
Data A
AuctionQueryHeadersResponseMessage
195.33.138.118:44463 -> 192.168.2.100:2716(Server -> Client)
Enc: T Comp: T Seed: 0xFF68FE1C Length: 307
00 09 04 92
08 00
52 0E 50 FA
01 00 00 00 page count
02 00 00 00 2 is item listing, 4 is auctions listing
[UINT32] //Amount of Elements making up an element list in the order :
Terminal 1, seller 1 to seller x; ... Terminal x seller 1 to
seller x;
or put blundly : Nr of unique terminals and unique sellers
//stringlist
[ASCII] Terminal description dantooine.@dantooine_region_names:dantooine_mining_outpost.
@terminal_name:terminal_bazaar.1366001#-618,2490
[ASCII] Auction Owner Name
[UINT32] Number of (unique??) item names
[UNICODE] Item name
[UINT32] Number of item descriptions (ie nr of auctions)
[UINT64] Item Id
[UINT8] List ID of itemdescription string // why byte????????
every page has max 100 Auctions!!!!!!!!!!!!!!!!!!!!!!
[UINT32] item price
[UINT32] remaining Auction / instant sell time in seconds
[UINT8] 0 = Auction 1 = instant
[UINT16] list id of bazaar terminal string
[UINT64] owner id
[UINT16] list id of sellername string
00 00
00 00 00 00
00 00
02 00 00 00
00 00 00 00
00 00
[UINT8] Sub category
[UINT8] Main category
[UINT8] sub sub cat
[UINT8] sub sub sub cat
01 08 00 00
00 00 00 00
00 00
00
08 94