interface.go 461 B

1234567891011121314
  1. package proto
  2. type IPrivateRoomStatusReceiver interface {
  3. OnRoomStart(roomNo int)
  4. OnRoomEnd(roomNo int, winners []int)
  5. OnRoomUserScoreChanged(roomNo int, userId int, score int)
  6. OnRoomStatusChanged(roomNo int, old, new int)
  7. }
  8. type IPrivateServerStatusReceiver interface {
  9. OnGameRuleRegistered(gameId int, gameRule string, desc string,
  10. targetOptions []int, userOptions []int, playTimeOptions []int)
  11. OnGameRuleDeregistered(gameId int, gameRule string)
  12. }