ecs/servers/game/data_old/skill_entitys.go

18 lines
445 B
Go
Raw Normal View History

2025-06-04 18:17:39 +08:00
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]
}