Difference between revisions of "Game Opcodes:Retainer Search Transaction History"

From FFXIV Classic Wiki
Jump to: navigation, search
(Visual Layout)
(Images)
 
(2 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 + 0x1DC packets are sent.
+
:* The client will keep updating the window if more of this + 0x1DD packets are sent.
  
 
== Visual Layout ==
 
== Visual Layout ==
Line 102: 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.

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

Images

Transaction history with dummy data