25 lines
1.0 KiB
Go
25 lines
1.0 KiB
Go
package data
|
|
|
|
type PlanetRawStone struct {
|
|
Id int `json:"id"` //索引(ID)
|
|
MinTimes int `json:"min_times"` //最小抽奖数量
|
|
MaxTimes int `json:"max_times"` //最大抽奖次数
|
|
CostItemId int `json:"cost_item_id"` //消耗道具ID
|
|
CostItemNum int `json:"cost_item_num"` //消耗道具数量
|
|
GeneralDropId int `json:"general_drop_id"` //单抽掉落ID
|
|
TenfoldDropId int `json:"tenfold_drop_id"` //十连抽掉落ID
|
|
FirstTenfoldDropId int `json:"first_tenfold_drop_id"` //首次十连掉落ID
|
|
RewardTimes int `json:"reward_times"` //奖励累计次数
|
|
RewardItemId int `json:"reward_item_id"` //累计奖励ID
|
|
RewardItemNum int `json:"reward_item_num"` //累计奖励数量
|
|
FreeInterval int `json:"free_interval"` //单抽倒计时
|
|
}
|
|
|
|
func (data *PlanetRawStone) id() int {
|
|
return data.Id
|
|
}
|
|
|
|
type PlanetRawStoneTable struct {
|
|
table[int, *PlanetRawStone]
|
|
}
|