Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoMudEngine/GoMud
/ setActorFunctions
Function
setActorFunctions
internal/scripting/actor_func.go:22–26 ·
view source on GitHub ↗
(vm *goja.Runtime)
Source
from the content-addressed store, hash-verified
20
)
21
22
func
setActorFunctions(vm *goja.Runtime) {
23
vm.Set(`GetUser`, GetUser)
24
vm.Set(`GetMob`, GetMob)
25
vm.Set(`ActorNames`, ActorNames)
26
}
27
28
type
ScriptActor
struct
{
29
userId int
Callers
1
setAllScriptingFunctions
Function · 0.85
Calls
1
Set
Method · 0.65
Tested by
no test coverage detected