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

Method loadComplexConfig

modules/automission/admin_api.go:42–46  ·  view source on GitHub ↗

loadComplexConfig reads the persisted complex config from plugin storage.

()

Source from the content-addressed store, hash-verified

40
41// loadComplexConfig reads the persisted complex config from plugin storage.
42func (m *AutoMissionModule) loadComplexConfig() complexConfig {
43 var cc complexConfig
44 m.plug.ReadIntoStruct(complexConfigKey, &cc)
45 return cc
46}
47
48// saveComplexConfig persists the complex config to plugin storage.
49func (m *AutoMissionModule) saveComplexConfig(cc complexConfig) error {

Callers 2

configSliceMethod · 0.95
apiGetConfigMethod · 0.95

Calls 1

ReadIntoStructMethod · 0.80

Tested by

no test coverage detected