76 lines
1.3 KiB
Go
76 lines
1.3 KiB
Go
// Code generated by minotaur-config-export. DO NOT EDIT.
|
|
package example
|
|
|
|
// IndexConfigDefine 有索引
|
|
type IndexConfigDefine struct {
|
|
Id int // 任务ID
|
|
Count string // 次数
|
|
Info *IndexConfigInfo // 信息
|
|
Other map[int]*IndexConfigOther // 信息2
|
|
}
|
|
|
|
func (slf *IndexConfigDefine) String() string {
|
|
if data, err := json.Marshal(slf); err == nil {
|
|
return string(data)
|
|
}
|
|
|
|
return "{}"
|
|
}
|
|
|
|
type IndexConfigInfo struct {
|
|
Id int
|
|
Name string
|
|
Info *IndexConfigInfoInfo
|
|
}
|
|
|
|
type IndexConfigInfoInfo struct {
|
|
Lv int
|
|
Exp *IndexConfigInfoInfoExp
|
|
}
|
|
|
|
type IndexConfigInfoInfoExp struct {
|
|
Mux int
|
|
Count int
|
|
}
|
|
|
|
type IndexConfigOther struct {
|
|
Id int
|
|
Name string
|
|
}
|
|
|
|
// EasyConfigDefine 无索引
|
|
type EasyConfigDefine struct {
|
|
Id int // 任务ID
|
|
Info *EasyConfigInfo // 信息
|
|
Other map[int]*EasyConfigOther // 信息2
|
|
}
|
|
|
|
func (slf *EasyConfigDefine) String() string {
|
|
if data, err := json.Marshal(slf); err == nil {
|
|
return string(data)
|
|
}
|
|
|
|
return "{}"
|
|
}
|
|
|
|
type EasyConfigInfo struct {
|
|
Id int
|
|
Name string
|
|
Info *EasyConfigInfoInfo
|
|
}
|
|
|
|
type EasyConfigInfoInfo struct {
|
|
Lv int
|
|
Exp *EasyConfigInfoInfoExp
|
|
}
|
|
|
|
type EasyConfigInfoInfoExp struct {
|
|
Mux int
|
|
Count int
|
|
}
|
|
|
|
type EasyConfigOther struct {
|
|
Id int
|
|
Name string
|
|
}
|