Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoMudEngine/GoMud
/ getScript
Method
getScript
internal/scripting/item_func.go:29–34 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
27
}
28
29
func
(i ScriptItem) getScript() string {
30
if
i.itemRecord != nil {
31
return
i.itemRecord.GetScript()
32
}
33
return
""
34
}
35
36
func
(i ScriptItem) GetUsesLeft() int {
37
return
i.itemRecord.Uses
Callers
nothing calls this directly
Calls
1
GetScript
Method · 0.45
Tested by
no test coverage detected