Lua API
On this page
RestrictionDB
Inherits from
The RestrictionDB contains the access control list for a dwelling object.
Fields:
Bitmask number
0 = private dwelling, 1 = open to public
MonarchID number
allegiance monarch (if allegiance access granted)
Version number
If high word is not 0, this value indicates the version of the message.
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