Logout¶
Methods to interact with the logout tab.
Logout.IsOpen¶
function TRSLogout.IsOpen(): Boolean;
Returns true if the logout gametab is open, false if it’s not.
Example:
WriteLn Logout.IsOpen();
Logout.Open¶
function TRSLogout.Open(): Boolean;
Attempts to open the logout tab, returns true if it succeeds.
Example:
WriteLn Logout.Open();
Logout.IsRated¶
function TRSLogout.IsRated(): Boolean;
Returns true if a star button was clicked.
Example:
WriteLn Logout.IsRated();
Logout.IsWorldSwitcherOpen¶
function TRSLogout.IsWorldSwitcherOpen(): Boolean;
Returns true if the world switcher is open.
Example:
WriteLn Logout.IsWorldSwitcherOpen();
Logout.CloseWorldSwitcher¶
function TRSLogout.CloseWorldSwitcher(): Boolean;
Closes the world switcher.
Example:
Logout.CloseWorldSwitcher();
Logout.ClickLogout¶
function TRSLogout.ClickLogout(attempts: Int32 = 5; time: Int32 = 20000): Boolean;
Clicks the logout button. Returns true if we succesfully logout of the game.
Example:
WriteLn Logout.ClickLogout();
var Logout¶
Global TRSLogout variable.