MCPcopy Index your code
hub / github.com/Monibuca/engine / Update

Method Update

plugin.go:140–142  ·  view source on GitHub ↗

Update 热更新配置

(conf *config.Config)

Source from the content-addressed store, hash-verified

138
139// Update 热更新配置
140func (opt *Plugin) Update(conf *config.Config) {
141 opt.Config.OnEvent(UpdateConfig(conf))
142}
143
144func (opt *Plugin) registerHandler() {
145 t := reflect.TypeOf(opt.Config)

Callers 1

API_updateConfigMethod · 0.95

Calls 2

UpdateConfigTypeAlias · 0.85
OnEventMethod · 0.65

Tested by

no test coverage detected