luaengine

package
v0.0.0-...-b21aef7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CoreScripts

func CoreScripts() fs.FS

CoreScripts returns the embedded filesystem containing core Lua scripts

Types

type LuaEngine

type LuaEngine struct {
	L *lua.LState
	// contains filtered or unexported fields
}

func New

func New(userScriptDir string, eventSystem *events.EventProcessor) *LuaEngine

func (*LuaEngine) Close

func (engine *LuaEngine) Close()

Close cleans up the Lua state

func (*LuaEngine) Initialize

func (engine *LuaEngine) Initialize() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL