Skip to content

Event: marketBoardItemListing

karashiiro edited this page Aug 16, 2019 · 4 revisions

Fires whenever you view an item's listings on the market board. Contains up to 10 listings - more packets are sent if there are more than 10 listings.

Structure Overview

{
    itemID: number,
    itemListing1: itemListing,
    itemListing2?: itemListing,
    itemListing3?: itemListing,
    itemListing4?: itemListing,
    itemListing5?: itemListing,
    itemListing6?: itemListing,
    itemListing7?: itemListing,
    itemListing8?: itemListing,
    itemListing9?: itemListing,
    itemListing10?: itemListing
}

itemListing

{
    hq: 1 | 0,
    materiaCount: number,
    materia: Array,
    pricePerUnit: number,
    quantity: number,
    total: number,
    city: string,
    retainerName: string
}

Structure properties

All arrays are indexed by listing number from top to bottom.

  • itemID - The ID of the item that listings are being shown for.
  • hq - 1 | 0 whether or not the item is high-quality.
  • materiaCount - The number of materia on the item.
  • materia - An array containing the materia on the item.
  • pricePerUnit - The price per unit of the item.
  • quantity - The quantity of the item being sold.
  • total - The price per unit multipled by the number of units.
  • city - The city of the retainer.
  • retainerName - The selling retainer's name.