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

Method onSave

modules/storage/storage.go:163–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161}
162
163func (m *StorageModule) onSave() {
164 for userId, data := range m.storage {
165 m.save(userId, data)
166 }
167}
168
169func (m *StorageModule) onPlayerSpawn(e events.Event) events.ListenerReturn {
170 evt, ok := e.(events.PlayerSpawn)

Callers 1

SaveFunction · 0.45

Calls 1

saveMethod · 0.95

Tested by

no test coverage detected