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

18 lines
446 B
Go

package data
type FunctionOpen struct {
Id int `json:"id"` //功能id
ModuelId int `json:"moduel_id"` //大模块ID
SubModuleId int `json:"sub_module_id"` //小模块ID
UnlockType []int `json:"unlock_type"` //开启条件类型
UnlockValue []int `json:"unlock_value"` //开启参数
}
func (data *FunctionOpen) id() int {
return data.Id
}
type FunctionOpenTable struct {
table[int, *FunctionOpen]
}