MCPcopy Create free account
hub / github.com/GoMudEngine/GoMud / Save

Function Save

internal/plugins/plugins.go:567–579  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565}
566
567func Save() {
568
569 pluginCt := 0
570 for _, p := range registry {
571
572 if p.Callbacks.onSave != nil {
573 p.Callbacks.onSave()
574 pluginCt++
575 }
576
577 }
578 mudlog.Info("plugins", "saveCount", pluginCt)
579}
580
581func GetPluginRegistry() pluginRegistry {
582 return registry

Callers 4

triggerCopyoverFunction · 0.92
mainFunction · 0.92
saveAllDataFunction · 0.92
AutoSaveFunction · 0.92

Calls 2

InfoFunction · 0.92
onSaveMethod · 0.45

Tested by

no test coverage detected