Rented

@Serializable
@SerialName(value = "RENTED")
data class Rented(val houseId: Int, val name: String, val size: Int, val houseType: HouseType, val beds: Int, val rent: Int, val world: String, val paidUntil: Instant, val owner: String, val transferDate: Instant?, val transferPrice: Int?, val transferAccepted: Boolean?, val transferRecipient: String?) : House(source)

A rented house or guildhall.

Constructors

Link copied to clipboard
constructor(houseId: Int, name: String, size: Int, houseType: HouseType, beds: Int, rent: Int, world: String, paidUntil: Instant, owner: String, transferDate: Instant?, transferPrice: Int?, transferAccepted: Boolean?, transferRecipient: String?)

Properties

Link copied to clipboard
open override val beds: Int

The maximum amount of beds that can be placed in there.

Link copied to clipboard
open override val houseId: Int

The internal ID of the house.

Link copied to clipboard
open override val houseType: HouseType

The type of the house.

Link copied to clipboard
open val imageUrl: String

URL to the house's image.

Link copied to clipboard
open override val name: String

The name of the house.

Link copied to clipboard

The character that currently owns the house.

Link copied to clipboard

URL to the owner's information page.

Link copied to clipboard
val paidUntil: Instant

The date when the last paid rent is due.

Link copied to clipboard
open override val rent: Int

The monthly rent paid for this house in gold coins.

Link copied to clipboard
open override val size: Int

The size of the house in square meters (tiles).

Link copied to clipboard
open override val status: HouseStatus

The current status of the house.

Link copied to clipboard

Whether the transfer has been accepted by the recipient or not.

Link copied to clipboard
val transferDate: Instant?

The date when the current owner will move out of the house.

Link copied to clipboard

The amount of gold coins to be paid for transferring the house.

Link copied to clipboard

The character that will receive the house.

Link copied to clipboard

URL to the transfer recipient's information page, if any.

Link copied to clipboard
open val url: String

The URL to the house's information page.

Link copied to clipboard
open override val world: String

The world where this house is located.