Appearance
Configuration
Logging
Set the static log property to true to enable basic logging to the console.
typescript
OperatorInterface.log = true;From version 1.4.5, the OperatorInterface enables this logging by default.
Setup Parameters
The setup method accepts the following parameters:
| Parameter | Type | Description |
|---|---|---|
operatorProtocol | OperatorProtocol | The operator protocol for communication (for example, OperatorProtocol.GAMESGLOBAL). |
gameCode | string | The identifier for the game. |
currencyCode | string | The 3-letter ISO currency code (for example, 'EUR'). |
languageCode | string | The 2-letter ISO language code (for example, 'en'). |
playerID | string | The unique identifier for the player. |
mode | string | The game mode (for example, "REAL", "DEMO"). |
lobbyURL | string | The URL to redirect to when exiting. |
isMobile | boolean | (Optional) States whether the game runs on a mobile device. The default value is false. |
See setup in the API reference for the full signature.