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:
| Parameter | Type | Description |
|---|---|---|
operatorProtocol | string | The protocol to use for communication. |
gameCode | string | The identifier for the game. |
currency | string | The currency code (e.g., 'EUR'). |
language | string | The language code (e.g., 'en'). |
playerID | string | The unique identifier for the player. |
walletMode | string | The wallet mode. |
lobbyURL | string | The URL to redirect to when exiting. |
isMobile | boolean | Whether the game is running on a mobile device. |