印度包网
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

13 lines
331 B

package gate
import (
"server/call"
"server/common"
"server/pb"
)
func loadConfig() error {
c := map[int][]func(*pb.ReloadGameConfig) error{}
c[common.ReloadConfigServerVersion] = []func(*pb.ReloadGameConfig) error{func(rgc *pb.ReloadGameConfig) error { return call.LoadServerVersions() }}
return call.LoadSomeConfigs(c)
}