Lua API
On this page

HouseProfile

Inherits from

Set of information related to purchasing a housing

Fields:

Id number

the number associated with this dwelling

MinAllegRank number

the rank requirement to purchase this dwelling (-1 if no requirement)

MinLevel number

the level requirement to purchase this dwelling (-1 if no requirement)

OwnerId number

the object ID of the the current owner

OwnerName string

the name of the current owner

Type HouseType

the type of dwelling (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