Common Interface ================ TRSCommonInterface extends TRSInterface with methods to detect title and close. This is for interfaces like bank which have a title and close button at the top. ---- TRSCommonInterface.ClickCloseButton ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: function TRSCommonInterface.ClickCloseButton(UseKeyboard: Boolean): Boolean; Clicks the close button in the top right of the interface. If `UseKeyboard` is `True` escape key will be pressed. This is an option in-game that must be enabled. ---- TRSCommonInterface.IsTitle ~~~~~~~~~~~~~~~~~~~~~~~~~~ :: function TRSCommonInterface.IsTitle(Text: String; MinMatch: Single = 0.80): Boolean; Checks if the title contains any of `Text`. Uses brown'ish background of the interface to figure out the titles (normally orange) color.