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

Method IsLocked

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

Source from the content-addressed store, hash-verified

171}
172
173func (c ScriptContainer) IsLocked() bool {
174 if container, ok := c.roomRecord.Containers[c.name]; ok {
175 return container.Lock.IsLocked()
176 }
177 return false
178}
179
180func (c ScriptContainer) HasLock() bool {
181 if container, ok := c.roomRecord.Containers[c.name]; ok {

Callers

nothing calls this directly

Calls 1

IsLockedMethod · 0.45

Tested by

no test coverage detected