Skip to content

Configuration

Logging

You can enable rudimentary logging to the console by setting the static log property to true.

typescript
OperatorInterface.log = true;

This is enabled by default since version 1.4.5.

Setup Parameters

The setup method accepts the following parameters:

ParameterTypeDescription
operatorProtocolstringThe protocol to use for communication.
gameCodestringThe identifier for the game.
currencystringThe currency code (e.g., 'EUR').
languagestringThe language code (e.g., 'en').
playerIDstringThe unique identifier for the player.
walletModestringThe wallet mode.
lobbyURLstringThe URL to redirect to when exiting.
isMobilebooleanWhether the game is running on a mobile device.