- summary: The market price history of one item: one entry per day for the last month, and the entries of the last 24 hours.
- area: Game.Inventory
The market price history of one item: one entry per day for the last month, and the entries of the last 24 hours.
Kind event · Area Game.Inventory
The answer to ObjectAveragePricesHistoryRequest: what one item has been
selling for. The client draws it in its market-price window (day, week and month
tabs, an average and a median price, and the number of items sold).
WHAT TO DO WHEN YOU RECEIVE IT
1. FOR THE LAST MONTH, read ObjectAveragePricesHistoryEvent.daily_history:
one entry per day. The client keeps only the calendar day of each date.
2. FOR THE LAST 24 HOURS, read
ObjectAveragePricesHistoryEvent.last_day_history: entries with a full
timestamp, which the client converts to local time.
3. Each entry is an ObjectAveragePriceHistory: an average price, a quantity
sold and a date.
4. SEND NOTHING BACK.
The item is the one you asked about; each entry also repeats its id in a member the client never reads.
PADDING. 3.7.x adds a map of strings to bools that the client never reads.
When you may send it
- Requires
character_loadedinferred
Related messages
- Arrives after
ObjectAveragePricesHistoryRequest
Fields
| # | Field | Type | Meaning | You set it |
|---|---|---|---|---|
| 1 | last_day_history | repeated ObjectAveragePriceHistory | The entries of the last 24 hours, each with a full timestamp. Element type ObjectAveragePriceHistory. The client converts each date to local time and draws these in its day tab; they also feed its 'last buy' label. | never |
| 3 | daily_history | repeated ObjectAveragePriceHistory | One entry per day, for about the last month. Element type ObjectAveragePriceHistory. The client keeps only the calendar day of each date and draws these in its week and month tabs. | never |