19 lines
471 B
Go
19 lines
471 B
Go
![]() |
package data
|
||
|
|
||
|
type CopySpeedReward struct {
|
||
|
Id int `json:"id"` //索引
|
||
|
CopyId int `json:"copy_id"` //竞速副本ID
|
||
|
Type int `json:"type"` //类型
|
||
|
TypeArg int `json:"type_arg"` //类型参数
|
||
|
ItemList []int `json:"item_list"` //奖励物品id
|
||
|
NumList []int `json:"num_list"` //奖励物品数量
|
||
|
}
|
||
|
|
||
|
func (data *CopySpeedReward) id() int {
|
||
|
return data.Id
|
||
|
}
|
||
|
|
||
|
type CopySpeedRewardTable struct {
|
||
|
table[int, *CopySpeedReward]
|
||
|
}
|