Difference between revisions of "Game Opcodes:Retainer Search Transaction History"
From FFXIV Classic Wiki
(→Images) |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 43: | Line 43: | ||
:* This packet is repeated until all items have been sent. Once done, 0x1DC is sent to update the UI. | :* This packet is repeated until all items have been sent. Once done, 0x1DC is sent to update the UI. | ||
− | :* The client will keep updating the window if more of this + | + | :* The client will keep updating the window if more of this + 0x1DD packets are sent. |
== Visual Layout == | == Visual Layout == | ||
{| class="wikitable" style="border:1px solid black; text-align:center;" | {| class="wikitable" style="border:1px solid black; text-align:center;" | ||
− | | colspan=17 | | + | | colspan=17 | Packet Data Layout |
|- | |- | ||
| | | | ||
Line 55: | Line 55: | ||
! 0x00 | ! 0x00 | ||
| 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 | | 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 || 00 | ||
− | | colspan="4" style="background:#8FA6E8" | ''' | + | | colspan="4" style="background:#8FA6E8" | '''numEntries''' |
|- | |- | ||
! 0x10 | ! 0x10 | ||
| colspan="16" rowspan="39" style="background:#f1cbff" | '''transactionHistoryData''' | | colspan="16" rowspan="39" style="background:#f1cbff" | '''transactionHistoryData''' | ||
|- | |- | ||
− | ! | + | ! ~ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
! 0x650 | ! 0x650 | ||
Line 79: | Line 67: | ||
{| class="wikitable" style="border:1px solid black; text-align:center;" | {| class="wikitable" style="border:1px solid black; text-align:center;" | ||
− | | colspan=17 | | + | | colspan=17 | TransactionHistory Layout |
|- | |- | ||
| | | | ||
Line 87: | Line 75: | ||
| colspan="4" style="background:#C0E8A7" | '''timestamp''' | | colspan="4" style="background:#C0E8A7" | '''timestamp''' | ||
| 00 || 00 | | 00 || 00 | ||
− | | colspan=" | + | | colspan="2" style="background:#f1cbff" | '''quantity ''' |
| colspan="4" style="background:#f1cbff" | '''gilPrice''' | | colspan="4" style="background:#f1cbff" | '''gilPrice''' | ||
| colspan="1" style="background:#f1cbff" | '''isStack''' | | colspan="1" style="background:#f1cbff" | '''isStack''' | ||
− | | 00 || 00 | + | | 00 || 00 || 00 |
|- | |- | ||
| 0x10 | | 0x10 | ||
Line 114: | Line 102: | ||
|} | |} | ||
+ | == Images == | ||
+ | [[File:market_test.png|thumb|Transaction history with dummy data]] | ||
[[Category:Unfinished]] | [[Category:Unfinished]] |
Latest revision as of 14:11, 26 March 2018
Sends the transaction history entries for the currently selected item when searching the market wards.
- Opcode - 0x1DD
- Source - Server
- Data Size - 1616 bytes
- Requirements - 0x1D___ was sent by the client.
Contents
Data
Offset | Data Type | Length | Variable | Description |
---|---|---|---|---|
0x0C | uint32 | 4 Bytes | numEntries | The number of transaction history entries in this packet. |
0x0E | byte | 1 Bytes | resultFlag | 1 - Referenced but calls an empty function, 2, 4, 6 - All three do the same exact thing: Signals to the client that history search has ended, but even so, you can still send more packets to append more results to the list. |
0x10 | transactionHistoryData[] | 80 Bytes * numEntries | transactionHistoryEntries | A list of transactionHistory objects to send to the client. |
transactionHistory - 80 Bytes Each | ||||
---|---|---|---|---|
Offset | Data Type | Length | Variable | Description |
0x00 | uint32 | 4 Bytes | timestamp | The date and time this transaction took place. |
0x06 | int16 | 2 Bytes | quantity | The amount of this item sold. |
0x08 | int32 | 4 Bytes | gilPrice | The price at which it was sold at. |
0x0C | boolean | 1 Bytes | isStack | Was this multiple stacks of items. 0 = false, otherwise true. |
Notes
- This packet is repeated until all items have been sent. Once done, 0x1DC is sent to update the UI.
- The client will keep updating the window if more of this + 0x1DD packets are sent.
Visual Layout
Packet Data Layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | numEntries | |||
0x10 | transactionHistoryData | |||||||||||||||
~ | ||||||||||||||||
0x650 |
TransactionHistory Layout | ||||||||||||||||
0x0 | 0x1 | 0x2 | 0x3 | 0x4 | 0x5 | 0x6 | 0x7 | 0x8 | 0x9 | 0xA | 0xB | 0xC | 0xD | 0xE | 0xF | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0x00 | timestamp | 00 | 00 | quantity | gilPrice | isStack | 00 | 00 | 00 | |||||||
0x10 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
0x20 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
0x30 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
0x50 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
0x60 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
0x70 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |
0x80 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 | 00 |