| 1234567891011121314151617181920212223 |
- package rezekislot
- import (
- "bet24.com/log"
- "bet24.com/servers/games/slotcommon"
- )
- const LogColor = log.Yellow
- var logic *GameLogic
- func Run(slotSink slotcommon.SlotSink) {
- logic = NewGameLogic(slotSink)
- logic.run()
- }
- func OnGameMessage(userId int, msg, data string) {
- logic.onMessage(userId, msg, data)
- }
- func OnUserExit(userId int) {
- logic.userExit(userId)
- }
|