MCPcopy 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
22func setActorFunctions(vm *goja.Runtime) {
23 vm.Set(`GetUser`, GetUser)
24 vm.Set(`GetMob`, GetMob)
25 vm.Set(`ActorNames`, ActorNames)
26}
27
28type ScriptActor struct {
29 userId int

Callers 1

setAllScriptingFunctionsFunction · 0.85

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected