types.go 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. // Code generated by goctl. DO NOT EDIT.
  2. package types
  3. type PlayerFetchCsInfoReq struct {
  4. CsId string `json:"cs_id"`
  5. }
  6. type PlayerFetchCsInfoResp struct {
  7. CsId string `json:"cs_id"`
  8. CsNickname string `json:"cs_nickname"`
  9. CsAvatarUrl string `json:"cs_avatar_url"`
  10. CsSignature string `json:"cs_signature"`
  11. OnlineStatus int32 `json:"online_status"`
  12. }
  13. type PlayerFetchHistoryMsgReq struct {
  14. Page int32 `json:"page"`
  15. Limit int32 `json:"limit"`
  16. }
  17. type PlayerFetchHistoryMsgResp struct {
  18. TotalPage int32 `json:"total_page"`
  19. CurrentPage int32 `json:"current_page"`
  20. List []interface{} `json:"list"`
  21. }
  22. type PlayerSendMsgReq struct {
  23. Content string `json:"content"`
  24. Pic string `json:"pic"`
  25. }
  26. type CsFetchPlayerQueueReq struct {
  27. Limit int32 `json:"limit"`
  28. }
  29. type CsFetchPlayerQueueResp struct {
  30. List []interface{} `json:"list"`
  31. }
  32. type CsConnectPlayerReq struct {
  33. GameId string `json:"game_id"`
  34. PlayerId string `json:"player_id"`
  35. }
  36. type CsFetchHistoryChatReq struct {
  37. Page int32 `json:"page"`
  38. Limit int32 `json:"limit"`
  39. }
  40. type CsFetchHistoryChatResp struct {
  41. TotalPage int32 `json:"total_page"`
  42. CurrentPage int32 `json:"current_page"`
  43. List []interface{} `json:"list"`
  44. }
  45. type CsFetchHistoryMsgReq struct {
  46. GameId string `json:"game_id"`
  47. PlayerId string `json:"player_id"`
  48. Page int32 `json:"page"`
  49. Limit int32 `json:"limit"`
  50. }
  51. type CsFetchHistoryMsgResp struct {
  52. TotalPage int32 `json:"total_page"`
  53. CurrentPage int32 `json:"current_page"`
  54. List []interface{} `json:"list"`
  55. }
  56. type CsFetchMsgReq struct {
  57. GameId string `json:"game_id"`
  58. PlayerId string `json:"player_id"`
  59. }
  60. type CsSendMsgReq struct {
  61. GameId string `json:"game_id"`
  62. PlayerId string `json:"player_id"`
  63. Content string `json:"content"`
  64. Pic string `json:"pic"`
  65. }