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

Function HandleMapRebuild

internal/hooks/RebuildMap_HandleMapRebuild.go:9–16  ·  view source on GitHub ↗

Handles force rebuilding maps via event

(e events.Event)

Source from the content-addressed store, hash-verified

7
8// Handles force rebuilding maps via event
9func HandleMapRebuild(e events.Event) events.ListenerReturn {
10
11 evt := e.(events.RebuildMap)
12
13 mapper.GetMapper(evt.MapRootRoomId, !evt.SkipIfExists)
14
15 return events.Continue
16}

Callers

nothing calls this directly

Calls 1

GetMapperFunction · 0.92

Tested by

no test coverage detected