chapter.go 703 B

12345678910111213141516171819202122232425262728
  1. package msg
  2. // EnterChapter 进入章节
  3. type EnterChapter struct {
  4. PlayerId int64 `json:"userId"`
  5. Id int64 `json:"id"` // 关卡id
  6. }
  7. type EnterChapterData struct{}
  8. type ResponseEnterChapter struct {
  9. ErrCode int `json:"errCode"`
  10. Msg string `json:"msg,omitempty"`
  11. Data *EnterChapterData `json:"data"`
  12. }
  13. // ProgressReward 领取波次奖励
  14. type ProgressReward struct {
  15. PlayerId int64 `json:"userId"`
  16. Id int64 `json:"id"` // 关卡id
  17. }
  18. type ProgressRewardData struct{}
  19. type ResponseProgressReward struct {
  20. ErrCode int `json:"errCode"`
  21. Msg string `json:"msg,omitempty"`
  22. Data *ProgressRewardData `json:"data"`
  23. }