ecs/servers/game/data_old/rig_trammels.go
2025-06-04 18:17:39 +08:00

23 lines
753 B
Go

package data
type RigTrammels struct {
Id int `json:"id"` //索引(ID)
Group int `json:"group"` //羁绊组
Level int `json:"level"` //等级
Items []int `json:"items"` //羁绊内容
TrammelsType int `json:"trammels_type"` //羁绊类型
TrammelsValue int `json:"trammels_value"` //羁绊值
AttrType1 int `json:"attr_type1"` //属性类型1
AttrValue1 int `json:"attr_value1"` //加成固定值1
AttrType2 int `json:"attr_type2"` //属性类型2
AttrValue2 int `json:"attr_value2"` //加成固定值2
}
func (data *RigTrammels) id() int {
return data.Id
}
type RigTrammelsTable struct {
table[int, *RigTrammels]
}