savingpot.go 824 B

123456789101112131415161718192021222324252627
  1. package proto
  2. // SavingPotCfg 存钱罐配置
  3. type SavingPotCfg struct {
  4. GameIds []int // 游戏id
  5. AccumulateLimit int // 累计上限
  6. MultiplyLimit int // 多倍上限
  7. Level int // 存钱罐等级
  8. MinMultiplyDurringTime int // 多倍最小持续时间(s)
  9. MaxMultiplyDurringTime int // 多倍最大持续时间 (s)
  10. }
  11. // SavingPotInfo 存钱罐信息
  12. type SavingPotInfo struct {
  13. CurrentLevel int // 当前等级
  14. BuyAmount int // 可购买金币
  15. IsMultiplyStatus int // 是否是多倍购买状态
  16. UpdateTime int // 剩余时间
  17. DuringTimeSec int // 持续时间
  18. }
  19. // SavingPotInfo 存钱罐信息
  20. type SavingPotOldInfo struct {
  21. BuyTimes int // 已购买次数
  22. BuyAmount int // 可购买金币
  23. UpdateTime int // 时间戳
  24. }