Lua API
On this page

HouseData

Inherits from

Set of information related to owning a housing

Fields:

BuyTime number

when the house was purchased (Unix timestamp)

MaintenanceFree boolean

indicates maintenance is free this period, I assume admin controlled

position Position

house position

RentTime number

when the current maintenance period began (Unix timestamp)

Type HouseType

the type of house (1=cottage, 2=villa, 3=mansion, 4=apartment)

Methods:

GetPropertyKeys() : string[]

Returns a list of strings of all public property / field names. Useful for reflection on UserData in lua scripts

Returns:string[]

ToString() : string

Returns a string that represents the current object.

Returns:string