ecs/servers/game/data_old/rig_component_star.go

21 lines
654 B
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
package data
type RigComponentStar struct {
Id int `json:"id"` //索引
ItemId int `json:"item_Id"` //物品ID
StarLevel int `json:"star_level"` //星级
NextId int `json:"next_id"` //下一星部件ID
CostItemId []int `json:"cost_item_id"` //升级消耗道具ID
CostItemNum []int `json:"cost_item_num"` //升级消耗道具数量
AutoSkills []int `json:"auto_skills"` //自动释放技能
Skills []int `json:"skills"` //被动释放技能
}
func (data *RigComponentStar) id() int {
return data.Id
}
type RigComponentStarTable struct {
table[int, *RigComponentStar]
}