Lua API
On this page

AllegianceHierarchy

Inherits from

Allegience hierarchy information

Fields:

AllegianceName string

The name of the allegiance.

Bindpoint Position

Location of monarchy bindpoint

ChatRoomID number

allegiance chat channel number

Locked boolean

Whether allegiance is locked.

MonarchBroadcastsToday number

May only be valid for Monarchs/Speakers?

MonarchBroadcastTime number

May only be valid for Monarchs/Speakers?

MonarchData AllegianceData

Monarchs data

MOTD string

Text for current motd. May only be valid for Monarchs/Speakers?

MOTDSetBy string

Who set the current motd. May only be valid for Monarchs/Speakers?

NameLastSetTime number

Time name was last set. Seems to count upward for some reason.

OldVersion number

Defines which properties are available. 0x0B seems to be the latest version which includes all properties.

RecordCount number

Number of character allegiance records.

Records Record[]

Data for remaining people, which I believe should be your vassels.

SpokesBroadcastsToday number

May only be valid for Monarchs/Speakers?

SpokesBroadcastTime number

May only be valid for Monarchs/Speakers?

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