ecs/servers/game/data_old/warship_level.go

25 lines
982 B
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
package data
type WarshipLevel struct {
Id int `json:"id"` //索引(ID)
Type int `json:"type"` //战舰等级成长类型
Level int `json:"level"` //等级
ConsumeItemId []int `json:"consume_item_id"` //升级消耗道具ID
ConsumeItemNum []int `json:"consume_item_num"` //升级消耗数量
SkillLevel int `json:"skill_level"` //固定技能等级
AttrType1 int `json:"attr_type1"` //属性加成类型1
AttrValue1 int `json:"attr_value1"` //属性加成数值
AttrType2 int `json:"attr_type2"` //属性加成类型2
AttrValue2 int `json:"attr_value2"` //属性加成数值2
AttrType3 int `json:"attr_type3"` //属性加成类型3
AttrValue3 int `json:"attr_value3"` //属性加成数值3
}
func (data *WarshipLevel) id() int {
return data.Id
}
type WarshipLevelTable struct {
table[int, *WarshipLevel]
}