package data type SkillEntitys struct { Id int `json:"id"` //索引(ID) SettleType int `json:"settleType"` //结算类型 SettleArgs []int `json:"settleArgs"` //结算参数 Buffs []int `json:"buffs"` //技能效果 Duration float64 `json:"duration"` //总持续时长(ms) } func (data *SkillEntitys) id() int { return data.Id } type SkillEntitysTable struct { table[int, *SkillEntitys] }