Documentation ¶
Index ¶
- func GetAllGameConf[Val any]() (res []Val)
- func GetGameConf[Val any](id string) (res Val, h bool)
- func GetGameConfBySlice[Val any](id string) (res []Val, h bool)
- func InitGameConfToMem()
- func LoadGameConf[Val any]() *hashmap.Map[string, interface{}]
- func RangeGameConf[Val any](f func(s string, i Val) bool)
- func WithConfPath(path string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllGameConf ¶
func GetAllGameConf[Val any]() (res []Val)
GetAllGameConf [Val any] @Description: 不建议使用这个函数除非特殊需求,建议使用RangeGameConf
func GetGameConf ¶
func GetGameConfBySlice ¶
func InitGameConfToMem ¶
func InitGameConfToMem()
func RangeGameConf ¶
RangeGameConf [Val any] @Description: @param f
func WithConfPath ¶
func WithConfPath(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.