Lua API
On this page

HAR

Inherits from

Set of information related to house access

Fields:

Bitmask number

0 is private house, 1 = open to public

MonarchId number

populated when any allegiance access is specified

Version number

0x10000002, seems to be some kind of version. Older version started with bitmask, so starting with 0x10000000 allows them to determine if this is V1 or V2. The latter half appears to indicate wheither there is a roommate list or not.

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