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

Function setPanelFunctions

internal/scripting/panel_func.go:8–11  ·  view source on GitHub ↗
(vm *goja.Runtime)

Source from the content-addressed store, hash-verified

6)
7
8func setPanelFunctions(vm *goja.Runtime) {
9 vm.Set(`PanelLayoutLoad`, PanelLayoutLoad)
10 vm.Set(`PanelLayoutNew`, PanelLayoutNew)
11}
12
13// PanelLayoutLoad loads a panel layout from the datafiles panel-layouts directory.
14// name is relative to panel-layouts/ and has no extension.

Callers 1

setAllScriptingFunctionsFunction · 0.85

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected