AjaxObject

@Serializable
data class AjaxObject(val data: String, val dataType: String, val target: String)(source)

Represents a single AJAX payload item returned by Tibia’s internal web services.

Constructors

Link copied to clipboard
constructor(data: String, dataType: String, target: String)

Properties

Link copied to clipboard
@SerialName(value = "Data")
val data: String

Raw HTML content provided by the endpoint. This string typically contains <div>, <img>, and other markup used to dynamically populate sections of the Tibia.com page (for example: lists of items, pagination rows, character trade objects, or dialog content).

Link copied to clipboard
@SerialName(value = "DataType")
val dataType: String

String indicating the kind of data contained in data. Common values include "HTML" or "Container", informing the client-side scripts how the content should be interpreted.

Link copied to clipboard
@SerialName(value = "Target")
val target: String

CSS selector or DOM target ID used by Tibia.com to insert the provided HTML fragment into the page.