package data type CopyArenaReward 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 *CopyArenaReward) id() int { return data.Id } type CopyArenaRewardTable struct { table[int, *CopyArenaReward] }