game.pb.go 832 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. package proto
  2. // 上报用户投注日志
  3. type UserBet struct {
  4. UserId int
  5. TotalBet int
  6. TotalWin int
  7. }
  8. type Request_ReportUserBet struct {
  9. RoomId int // 房主ID
  10. RoomNo int // 房间号
  11. GameId int // 游戏ID
  12. RoomName string // 房间名
  13. IsChipRoom bool // 是否钻石场
  14. UserBets []UserBet
  15. }
  16. // 返回RoomNo,IP:Port,TableId
  17. type GameRoomInfo struct {
  18. RoomNo int // 私人场号码
  19. ServerAddr string // 房间地址
  20. TableId int // 桌子号
  21. GameId int // 游戏id
  22. RuleName string // 玩法
  23. }
  24. type Request_CreateGameRoom struct {
  25. RoomId int
  26. GameId int
  27. RuleName string
  28. }
  29. type Response_CreateGameRoom struct {
  30. RetMsg
  31. *GameRoomInfo
  32. }
  33. type Request_CloseGameRoom struct {
  34. RoomId int
  35. GameId int
  36. RoomNo int
  37. }
  38. type Response_CloseGameRoom struct {
  39. RetMsg
  40. }