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

18 lines
427 B
Go

package data
type Active struct {
Id int `json:"id"` //索引(ID)
ActiveValue int `json:"active_value"` //活跃度值
ItemList []int `json:"item_list"` //奖励物品
NumList []int `json:"num_list"` //奖励物品数量
AddExp int `json:"add_exp"` //增加主角经验
}
func (data *Active) id() int {
return data.Id
}
type ActiveTable struct {
table[int, *Active]
}