-
Notifications
You must be signed in to change notification settings - Fork 113
Trade window Orion Assistant
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
Result: the amount of open menus.
Get the container serial of the trade window with the index 'index' (from 0 to TradeCount () - 1) (or using the serial index 0x12345678).
container - Window identifier, right ('right' or '1') or left ('left' or '0').
Result: serial of the container.
Get an opponent's serial of the trade window with the index 'index' (from 0 to TradeCount () - 1) (or using the serial index 0x12345678).
Result: opponent's serial.
Get the opponent's name of the trade window with the index 'index' (from 0 to TradeCount () - 1) (or using the serial index 0x12345678).
Result: opponent's name.
Obtain the status (confirmation) of the transaction in the trade window with the index 'index' (from 0 to TradeCount () - 1) (or using serial number index 0x12345678).
container - Window identifier, right ('right' or '1') or left ('left' or '0').
Result: the status of the checkbox is true / false.
Change the transaction confirmation status in the trade window with the index 'index' (from 0 to TradeCount () - 1) (or using serial number index 0x12345678).
state - new state, true (tick) or false (uncheck).
Close the trade window with the index 'index' (from 0 to TradeCount () - 1) (or using the serial index 0x12345678).
Await for a trade window for a given 'delay' amount of time and blocking script execution.
Returns true if a trade window was received during this period.