dropedbox.go 2.3 KB

123456789101112131415161718192021222324252627282930313233
  1. package model
  2. // 宝箱表-Box exported from 掉落宝箱.xlsx
  3. type Box struct {
  4. Uid int64 `json:"Uid"` // 唯一ID
  5. Type int64 `json:"Type"` // 掉落类型 1-固定 2-随机 3-自选
  6. GroupID int64 `json:"GroupID"` // 掉落组ID
  7. } // package model
  8. // 固定掉落-BoxFixed exported from 掉落宝箱.xlsx
  9. type BoxFixed struct {
  10. GroupID int64 `json:"GroupID"` // 掉落组号
  11. Type int64 `json:"Type"` // 2025.3.11。服务器需求 道具类型 (大类) 1:英雄碎片 2:假道具 3:材料 4:抽奖道具 5:宝物道具 6:宝箱类型 7:英雄皮肤 8:要塞皮肤 9.符文 10:场景皮肤 11:铭文 12:头像道具 13:头像框道具 14:聊天气泡道具 15:游戏内道具 16:体力类型 17:杂类 18:经验,玩家经验、通行证经验 19:聊天动态表情
  12. ItemID int64 `json:"ItemID"` // 道具ID
  13. Num int64 `json:"Num"` // 道具数量
  14. } // package model
  15. // 随机掉落-BoxRandom exported from 掉落宝箱.xlsx
  16. type BoxRandom struct {
  17. GroupID int64 `json:"GroupID"` // 掉落组号
  18. Type int64 `json:"Type"` // 2025.3.11。服务器需求 道具类型 (大类) 1:英雄碎片 2:假道具 3:材料 4:抽奖道具 5:宝物道具 6:宝箱类型 7:英雄皮肤 8:要塞皮肤 9.符文 10:场景皮肤 11:铭文 12:头像道具 13:头像框道具 14:聊天气泡道具 15:游戏内道具 16:体力类型 17:杂类 18:经验,玩家经验、通行证经验 19:聊天动态表情
  19. ItemID int64 `json:"ItemID"` // 道具ID
  20. Num int64 `json:"Num"` // 道具数量
  21. Weight int64 `json:"Weight"` // 权重
  22. } // package model
  23. // 自选掉落-BoxSelect exported from 掉落宝箱.xlsx
  24. type BoxSelect struct {
  25. GroupID int64 `json:"GroupID"` // 掉落组号
  26. Type int64 `json:"Type"` // 2025.3.11。服务器需求 道具类型 (大类) 1:英雄碎片 2:假道具 3:材料 4:抽奖道具 5:宝物道具 6:宝箱类型 7:英雄皮肤 8:要塞皮肤 9.符文 10:场景皮肤 11:铭文 12:头像道具 13:头像框道具 14:聊天气泡道具 15:游戏内道具 16:体力类型 17:杂类 18:经验,玩家经验、通行证经验 19:聊天动态表情
  27. ItemID int64 `json:"ItemID"` // 道具ID
  28. Num int64 `json:"Num"` // 道具数量
  29. }