rezeki.go 373 B

1234567891011121314151617181920212223
  1. package rezekislot
  2. import (
  3. "bet24.com/log"
  4. "bet24.com/servers/games/slotcommon"
  5. )
  6. const LogColor = log.Yellow
  7. var logic *GameLogic
  8. func Run(slotSink slotcommon.SlotSink) {
  9. logic = NewGameLogic(slotSink)
  10. logic.run()
  11. }
  12. func OnGameMessage(userId int, msg, data string) {
  13. logic.onMessage(userId, msg, data)
  14. }
  15. func OnUserExit(userId int) {
  16. logic.userExit(userId)
  17. }