| 123456789101112131415161718192021222324252627 |
- package proto
- // SavingPotCfg 存钱罐配置
- type SavingPotCfg struct {
- GameIds []int // 游戏id
- AccumulateLimit int // 累计上限
- MultiplyLimit int // 多倍上限
- Level int // 存钱罐等级
- MinMultiplyDurringTime int // 多倍最小持续时间(s)
- MaxMultiplyDurringTime int // 多倍最大持续时间 (s)
- }
- // SavingPotInfo 存钱罐信息
- type SavingPotInfo struct {
- CurrentLevel int // 当前等级
- BuyAmount int // 可购买金币
- IsMultiplyStatus int // 是否是多倍购买状态
- UpdateTime int // 剩余时间
- DuringTimeSec int // 持续时间
- }
- // SavingPotInfo 存钱罐信息
- type SavingPotOldInfo struct {
- BuyTimes int // 已购买次数
- BuyAmount int // 可购买金币
- UpdateTime int // 时间戳
- }
|