combomatch_notification.go 935 B

123456789101112131415161718192021222324252627
  1. package combomatch
  2. import (
  3. item "bet24.com/servers/micros/item_inventory/proto"
  4. )
  5. const (
  6. ComboMatch_noti_rank = "combomatch_rank"
  7. ComboMatch_noti_userenter = "combomatch_userenter"
  8. ComboMatch_noti_userexit = "combomatch_userexit"
  9. ComboMatch_noti_matchfailed = "combomatch_matchfailed"
  10. ComboMatch_noti_matchlocked = "combomatch_matchlocked" // 报名截至
  11. ComboMatch_noti_matchcall = "combomatch_matchcall" // 比赛开赛催促提示
  12. ComboMatch_noti_promoted = "combomatch_promoted"
  13. )
  14. type ComboMatch_notificationInfo struct {
  15. Msg string `json:",omitempty"`
  16. MatchId int
  17. UserId int `json:",omitempty"`
  18. Rank int `json:",omitempty"`
  19. Prize []item.ItemPack `json:",omitempty"`
  20. FaceId int `json:",omitempty"`
  21. FaceUrl string `json:",omitempty"`
  22. Nickname string `json:",omitempty"`
  23. Seconds int `json:",omitempty"`
  24. }