19 lines
448 B
Go
19 lines
448 B
Go
![]() |
package data
|
||
|
|
||
|
type FunctionOpen1 struct {
|
||
|
Id int `json:"id"` //索引
|
||
|
GridType int `json:"grid_type"` //装备栏类型
|
||
|
GridId int `json:"grid_id"` //格子ID
|
||
|
LockType int `json:"lock_type"` //解锁条件
|
||
|
LockArg1 int `json:"lock_arg1"` //解锁参数1
|
||
|
LockArg2 int `json:"lock_arg2"` //解锁参数2
|
||
|
}
|
||
|
|
||
|
func (data *FunctionOpen1) id() int {
|
||
|
return data.Id
|
||
|
}
|
||
|
|
||
|
type FunctionOpen1Table struct {
|
||
|
table[int, *FunctionOpen1]
|
||
|
}
|