MCPcopy 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
29func (i ScriptItem) getScript() string {
30 if i.itemRecord != nil {
31 return i.itemRecord.GetScript()
32 }
33 return ""
34}
35
36func (i ScriptItem) GetUsesLeft() int {
37 return i.itemRecord.Uses

Callers

nothing calls this directly

Calls 1

GetScriptMethod · 0.45

Tested by

no test coverage detected