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

Method load

modules/gambling/gambling.go:155–157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153}
154
155func (g *GamblingModule) load() {
156 g.plug.ReadIntoStruct(`slotstate`, &g.state)
157}
158
159func (g *GamblingModule) save() {
160 g.plug.WriteStruct(`slotstate`, g.state)

Callers

nothing calls this directly

Calls 1

ReadIntoStructMethod · 0.80

Tested by

no test coverage detected