data.go 466 B

12345678910111213141516171819202122232425
  1. package proto
  2. const (
  3. GameType_All = iota // 所有类型
  4. GameType_Gold // 金币类型
  5. GameType_Chip // 元宝类型
  6. )
  7. type GameInfo struct {
  8. GameID int
  9. ChineseName string
  10. EnglishName string
  11. ServerAddr string
  12. GameType int // 游戏类型
  13. DisplaySort string
  14. GoldSort string
  15. ChipSort string
  16. NeedLevel int
  17. }
  18. type GameAddrInfo struct {
  19. Addr string // 地址
  20. Players int // 玩家数
  21. Ts int64 // 时间戳
  22. }