package data type CopyMaterial struct { Id int `json:"id"` //材料副本序号 SceneId int `json:"scene_id"` //场景id MaterialType int `json:"material_type"` //材料副本类型 Time int `json:"time"` //挑战次数 DifficultyId int `json:"difficulty_id"` //难度 NextId int `json:"next_id"` //下一关卡ID UnlockType []int `json:"unlock_type"` //解锁类型 UnlockArg []int `json:"unlock_arg"` //解锁参数 } func (data *CopyMaterial) id() int { return data.Id } type CopyMaterialTable struct { table[int, *CopyMaterial] }