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

Function setRoomFunctions

internal/scripting/room_func.go:25–31  ·  view source on GitHub ↗
(vm *goja.Runtime)

Source from the content-addressed store, hash-verified

23)
24
25func setRoomFunctions(vm *goja.Runtime) {
26 vm.Set(`GetRoom`, GetRoom)
27 vm.Set(`GetMap`, GetMap)
28 vm.Set(`CreateEmptyRoomInstances`, CreateEmptyRoomInstances)
29 vm.Set(`CreateInstancesFromRoomIds`, CreateInstancesFromRoomIds)
30 vm.Set(`CreateInstancesFromZone`, CreateInstancesFromZone)
31}
32
33type ScriptRoom struct {
34 roomId int

Callers 1

setAllScriptingFunctionsFunction · 0.85

Calls 1

SetMethod · 0.65

Tested by

no test coverage detected