item.go 591 B

1234567891011121314151617181920212223
  1. package msg
  2. import "leafstalk/covenant/model"
  3. // UseDropedBox 使用箱子
  4. type UseDropedBox struct {
  5. PlayerId int64 `json:"userId"`
  6. BoxId int64 `json:"boxId"`
  7. Num int64 `json:"num"`
  8. SelectItemId int64 `json:"selectItemId"`
  9. }
  10. type ResponseUseDropedBox struct {
  11. ErrCode int `json:"errCode"`
  12. Msg string `json:"msg,omitempty"`
  13. Data *UseDropedBoxData `json:"data"`
  14. }
  15. type UseDropedBoxData struct {
  16. BoxId int64 `json:"boxId"`
  17. Num int64 `json:"num"`
  18. Bundles *model.DropedBundle `json:"bundles"`
  19. }