Item.go 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. package ark
  2. // ShopItem 类型
  3. type ShopItem struct {
  4. Type string `json:"Type"`
  5. Description string `json:"Description"`
  6. Price int `json:"Price"`
  7. Items []Item `json:"Items,omitempty"`
  8. }
  9. // ShopDino 类型
  10. type ShopDino struct {
  11. Type string `json:"Type"`
  12. Description string `json:"Description"`
  13. Price int `json:"Price"`
  14. Level int `json:"Level"`
  15. MinLevel int `json:"MinLevel,omitempty"`
  16. MaxLevel int `json:"MaxLevel,omitempty"`
  17. Neutered bool `json:"Neutered,omitempty"`
  18. Gender string `json:"Gender,omitempty"`
  19. SaddleBlueprint string `json:"SaddleBlueprint,omitempty"`
  20. Blueprint string `json:"Blueprint"`
  21. }
  22. // ShopBeacon 类型
  23. type ShopBeacon struct {
  24. Type string `json:"Type"`
  25. Description string `json:"Description"`
  26. Price int `json:"Price"`
  27. ClassName string `json:"ClassName"`
  28. }
  29. // ShopExperience 类型
  30. type ShopExperience struct {
  31. Type string `json:"Type"`
  32. Description string `json:"Description"`
  33. Price int `json:"Price"`
  34. GiveToDino bool `json:"GiveToDino"`
  35. Amount float64 `json:"Amount"`
  36. }
  37. // ShopUnlockengram 类型
  38. type ShopUnlockengram struct {
  39. Type string `json:"Type"`
  40. Description string `json:"Description"`
  41. Price int `json:"Price"`
  42. Items []struct {
  43. Blueprint string `json:"Blueprint"`
  44. }
  45. }
  46. // ShopCommand 类型
  47. type ShopCommand struct {
  48. Type string `json:"Type"`
  49. Description string `json:"Description"`
  50. Price int `json:"Price"`
  51. Items []struct {
  52. Command string `json:"Command"`
  53. DisplayAs string `json:"DisplayAs"`
  54. } `json:"Items"`
  55. }