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

Function roomIsStorage

modules/storage/storage.go:247–249  ·  view source on GitHub ↗

roomIsStorage returns true if the room has the storage tag.

(room *rooms.Room)

Source from the content-addressed store, hash-verified

245
246// roomIsStorage returns true if the room has the storage tag.
247func roomIsStorage(room *rooms.Room) bool {
248 return room.HasTag(storageTag)
249}
250
251// GetStorageItems is exported for use by other systems (e.g. autocomplete).
252func (m *StorageModule) GetStorageItems(userId int) []items.Item {

Callers 1

storageCommandMethod · 0.85

Calls 1

HasTagMethod · 0.45

Tested by

no test coverage detected