Skip to content

API Events

Incoming Events (Operator to Game)

These events are sent from the OperatorInterface to the game. You can listen to them using OperatorInterface.on().

Game Control

  • spinRequested: Operator requests a spin.
  • spinStopRequested: Operator requests to stop the spin.
  • stopRequested: Operator requests to stop the game.
  • stopAutoplayRequested: Operator requests to stop autoplay.
  • pauseRequested: Operator requests to pause the game.
  • resumeRequested: Operator requests to resume the game.
  • reloadRequested: Operator requests to reload the game.

Settings

  • muteRequested: Operator requests to mute the game.
  • unmuteRequested: Operator requests to unmute the game.
  • toggleMuteRequested: Operator requests to toggle mute.
  • enableTurboRequested: Operator requests to enable turbo mode.
  • disableTurboRequested: Operator requests to disable turbo mode.
  • toggleTurboRequested: Operator requests to toggle turbo mode.

Stake Control

  • increaseStakeRequested: Operator requests to increase stake.
  • decreaseStakeRequested: Operator requests to decrease stake.
  • updateStakeRequested: Operator requests to update stake.

UI

  • showRulesDialogRequested: Operator requests to show rules.
  • hideRulesDialogRequested: Operator requests to hide rules.
  • showAutoplayDialogRequested: Operator requests to show autoplay dialog.
  • showErrorDialogRequested: Operator requests to show error dialog.

Other

  • clearCookiesRequested
  • continueRequested
  • updateBalanceRequested
  • handleFreeRoundsUpdate
  • setPromoInfoResponse
  • getPromoInfoResponse

Outgoing Events (Game to Operator)

These are events that the game sends to the OperatorInterface, usually via method calls.

  • spin
  • stop
  • spinStop
  • clearCookies
  • stopAutoplay
  • reload
  • pause
  • resume
  • stakeUp
  • stakeDown
  • turbo
  • mute
  • unmute
  • setAudio
  • toggleMute
  • updateBalance
  • showHelp