RSClient

Methods relating to targeting the RS client and detecting client states.

if SRL_DISABLE_REMOTEINPUT is defined. RemoteInput plugin will not be loaded. if SRL_USE_REMOTEINPUT is defined. RemoteInput will be automatically setup.


type ERSClientMode

ERSClientMode.UNKNOWN // Unable to detect mode (likely not logged in yet) ERSClientMode.FIXED // Fixed mode ERSClientMode.RESIZABLE_CLASSIC // Resizable with “classic” gametabs or “fixed mode gametabs” ERSClientMode.RESIZABLE_MODERN // Resizable with gametabs being grouped together at the bottom


RSClient.DetectClientMode

function TRSClient.DetectClientMode(Update: Boolean): ERSClientMode;

Detects the client mode using the music tab. Returns RS_CLIENT_UNKNOWN when not logged in.


RSClient.LoseFocus

procedure TRSClient.LoseFocus;

Loses focus if available. Maybe useful for antiban.


RSClient.LoseFocus

procedure TRSClient.LoseFocus(Delay: Int32);

Waits Delay before losing focus.


RSClient.Setup

procedure TRSClient.Setup;

Setup method.

Note

This is automatically called on the RSClient variable.