package data type RigCore struct { Id int `json:"id"` //索引(ID) ItemId int `json:"item_id"` //物品ID SortBy int `json:"sort_by"` //排序(小到大) Level int `json:"level"` //等级 NextId int `json:"next_id"` //下一级ID CostItemId []int `json:"cost_item_id"` //升级消耗道具ID CostItemNum []int `json:"cost_item_num"` //升级消耗道具数量 CarryAttrType1 int `json:"carry_attr_type1"` //携带属性类型1 CarryAttrValue1 int `json:"carry_attr_value1"` //携带属性值1 AttrType1 int `json:"attr_type1"` //属性类型1 AttrValue1 int `json:"attr_value1"` //加成固定值1 ImproveSkillId int `json:"improve_skill_id"` //提升技能ID } func (data *RigCore) id() int { return data.Id } type RigCoreTable struct { table[int, *RigCore] }