Sale

@Serializable
data class Sale(val hq: Boolean, val pricePerUnit: Int, val quantity: Byte, val timestamp: Long, val onMannequin: Boolean? = null, val worldName: World? = null, val worldId: Short? = null, val buyerName: String? = null, val total: Int)

Constructors

Link copied to clipboard
constructor(hq: Boolean, pricePerUnit: Int, quantity: Byte, timestamp: Long, onMannequin: Boolean? = null, worldName: World? = null, worldId: Short? = null, buyerName: String? = null, total: Int)

Properties

Link copied to clipboard
val buyerName: String? = null

The buyer name

Link copied to clipboard
val hq: Boolean

Whether or not the item was high-quality

Link copied to clipboard
val onMannequin: Boolean? = null

Whether or not this was purchased from a mannequin

Link copied to clipboard

The price per unit sold

Link copied to clipboard

The stack size sold

Link copied to clipboard

The sale time, in seconds since the UNIX epoch

Link copied to clipboard
val total: Int

The total price

Link copied to clipboard
@SerialName(value = "worldID")
val worldId: Short? = null

The world ID, if applicable

Link copied to clipboard
val worldName: World? = null

The world name, if applicable