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

Method Unlock

internal/scripting/room_func.go:194–199  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

192}
193
194func (c ScriptContainer) Unlock() {
195 if container, ok := c.roomRecord.Containers[c.name]; ok {
196 container.Lock.SetUnlocked()
197 c.roomRecord.Containers[c.name] = container
198 }
199}
200
201func (c ScriptContainer) GetItems() []ScriptItem {
202 if container, ok := c.roomRecord.Containers[c.name]; ok {

Callers 15

playSlotsMethod · 0.80
maybeUpdateBiggestWinMethod · 0.80
slotMachineNounDescMethod · 0.80
getSessionMethod · 0.80
setSessionMethod · 0.80
removeSessionMethod · 0.80
makeInputHandlerMethod · 0.80
waitForExitMethod · 0.80
onWindowChangeMethod · 0.80
stopSessionMethod · 0.80
CreateMethod · 0.80
writeChecksumMethod · 0.80

Calls 1

SetUnlockedMethod · 0.80

Tested by 3

Benchmark_GetConfigFunction · 0.64
resetAuthStateForTestFunction · 0.64