package data type RigComponent struct { Id int `json:"id"` //索引 ItemId int `json:"item_Id"` //物品ID UnlockType int `json:"unlock_type"` //解锁条件 TaskId int `json:"task_id"` //解锁任务ID UnlockArg int `json:"unlock_arg"` //解锁参数 SortBy int `json:"sort_by"` //排序(小到大) Type int `json:"type"` //部件类型 Level int `json:"level"` //等级 NextId int `json:"next_id"` //下一级部件ID MoneyType int `json:"money_type"` //升级消耗货币类型 MoneyNum int `json:"money_num"` //升级消耗道具数量 AtkSkill int `json:"atk_skill"` //普攻技能 Modle int `json:"modle"` //模型ID 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 PassiveSkill []int `json:"passive_skill"` //被动技能 AoyiSkill int `json:"aoyi_skill"` //奥义技能 AudioId int `json:"audio_id"` //音频 } func (data *RigComponent) id() int { return data.Id } type RigComponentTable struct { table[int, *RigComponent] }