Logout¶
Methods to interact with the logout tab.

ERSRating¶
ERSRating = (ONE, TWO, THREE, FOUR, FIVE);
Enum representing the star buttons on the Logout gametab.
TRSLogout¶
Main record that holds and the methods to interact with the logout gametab.
Logout.SetupGameTab¶
procedure TRSLogout.SetupGameTab();
Internal method used to setup TRSLogout coordinates. This is called automatically for you on the Logout variable.
TRSLogout.Ratings¶
Ratings: array [ERSRating] of TRSButton;
TRSButton
for each of the Logout rating buttons.
Example:
ShowOnTarget(Logout.Ratings);

You can also access each button with an index or, more conveniently, with a ERSRating.
Example:
ShowOnTarget(Logout.Ratings[ERSRating.THREE]);

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.Rate¶
function TRSLogout.Rate(star: ERSRating): Boolean;
Click a star button to rate the game.
Example:
WriteLn Logout.Rate(ERSRating.FOUR);
Logout.Logout¶
function TRSLogout.Logout(attempts: UInt32 = 5; time: UInt32 = 20000): Boolean;
Attempts to logout of the game. Returns true if we succesfully logout of the game. If the WorldSwitcher is open, we will use WorldSwitcher.Logout instead.
Example:
WriteLn Logout.Logout();
Logout variable¶
Global TRSLogout variable.