DriftNet¶
DriftNet interface by Reldnahc.
TRSDriftNet.BankOverlayOpen¶
function TRSDriftNet.BankOverlayOpen(): Boolean;
Returns True if the bank loot overlay is activated
Example:
if DriftNet.BankOverlayOpen() then
Driftnet.GetButton(ERSDriftNetButton.OVERLAY_CONFIRM).Click();
TRSDriftNet.DestroyOverlayOpen¶
function TRSDriftNet.DestroyOverlayOpen(): Boolean;
Returns True if the destroy loot overlay is activated
Example:
if DriftNet.DestroyOverlayOpen() then
Driftnet.GetButton(ERSDriftNetButton.OVERLAY_CANCEL).Click();
TRSDriftNet.HasOverlay¶
function TRSDriftNet.HasOverlay(): Boolean;
Returns True if either overlay is activated
Example:
if DriftNet.HasOverlay() then
Driftnet.GetButton(ERSDriftNetButton.OVERLAY_CONFIRM).Click();
TRSDriftNet.GetSlotBoxes¶
function TRSDriftNet.GetSlotBoxes(): TBoxArray;
Returns a TBoxArray containing each item slot