Sale

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

Constructors

Link copied to clipboard
constructor(hq: Boolean, pricePerUnit: Int, quantity: Short, timestamp: Long, onMannequin: Boolean? = null, world: World? = 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 = "worldName")
val world: World? = null

The World, if applicable.