example

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by minotaur-config-export. DO NOT EDIT.

Code generated by minotaur-config-export. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLoad

func DefaultLoad(filepath string)

func LoadConfig

func LoadConfig(handle func(filename string, config any) error)

func Refresh

func Refresh()

Types

type EasyConfig

type EasyConfig struct {
	Id    int                      // 任务ID
	Count string                   // 次数
	Info  *EasyConfigInfo          // 信息
	Other map[int]*EasyConfigOther // 信息2
}

EasyConfig 无索引

var (
	IIndexConfig map[int]map[string]*IndexConfig

	IEasyConfig *EasyConfig
)

type EasyConfigInfo

type EasyConfigInfo struct {
	Id   int
	Name string
	Info *EasyConfigInfoInfo
}

type EasyConfigInfoInfo

type EasyConfigInfoInfo struct {
	Lv  int
	Exp *EasyConfigInfoInfoExp
}

type EasyConfigInfoInfoExp

type EasyConfigInfoInfoExp struct {
	Mux   int
	Count int
}

type EasyConfigOther

type EasyConfigOther struct {
	Id   int
	Name string
}

type IndexConfig

type IndexConfig struct {
	Id    int                       // 任务ID
	Count string                    // 次数
	Info  *IndexConfigInfo          // 信息
	Other map[int]*IndexConfigOther // 信息2
}

IndexConfig 有索引

type IndexConfigInfo

type IndexConfigInfo struct {
	Id   int
	Name string
	Info *IndexConfigInfoInfo
}

type IndexConfigInfoInfo

type IndexConfigInfoInfo struct {
	Lv  int
	Exp *IndexConfigInfoInfoExp
}

type IndexConfigInfoInfoExp

type IndexConfigInfoInfoExp struct {
	Mux   int
	Count int
}

type IndexConfigOther

type IndexConfigOther struct {
	Id   int
	Name string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL