Documentation
¶
Index ¶
- func Call(thread *lua.LState, funcName string, args ...interface{}) (lua.LValue, error)
- func CallFunction(root *lua.LState, fn *lua.LFunction, args ...interface{}) (lua.LValue, error)
- func CleanupThreadLocalState()
- func ClearConfiguration(L *lua.LState)
- func Close(thread *lua.LState)
- func Execute(root *lua.LState, thread *lua.LState, funcName string, args ...interface{}) (lua.ResumeState, lua.LValue, error)
- func InlineCall(root *lua.LState, scriptPath string, funcName string, args ...interface{}) (lua.LValue, error)
- func LValueToInterface(lv lua.LValue) (interface{}, bool)
- func NewLuable(L *lua.LState, obj Luable) *lua.LUserData
- func NewState() *lua.LState
- func NewThread(root *lua.LState, path string) (*lua.LState, error)
- func ParseTable(L *lua.LState, argument lua.LValue, argIndex int) (map[lua.LValue]lua.LValue, bool)
- func RegisterFunc(L *lua.LState, name string, fn lua.LGFunction)
- func RegisterLuaDerivedType[T Luable, B Luable](L *lua.LState)
- func RegisterLuaType[T Luable](L *lua.LState)
- func RegisterOnCreateHook(fn func(*lua.LState))
- func RegisterThreadLocalInitHook(fn func(*lua.LState))
- func Resume(root *lua.LState, thread *lua.LState, args ...lua.LValue) (lua.ResumeState, error)
- func SetAlwaysReload(enabled bool)
- func SetConfiguration(L *lua.LState, cfg Configuration)
- func SkillScriptHookName(hook string, skillID uint32) string
- type Configuration
- type Luable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallFunction ¶
func CleanupThreadLocalState ¶
func CleanupThreadLocalState()
func ClearConfiguration ¶
func InlineCall ¶
func LValueToInterface ¶
func ParseTable ¶
func RegisterFunc ¶
func RegisterFunc(L *lua.LState, name string, fn lua.LGFunction)
func RegisterLuaType ¶
func RegisterOnCreateHook ¶
func SetAlwaysReload ¶
func SetAlwaysReload(enabled bool)
func SetConfiguration ¶
func SetConfiguration(L *lua.LState, cfg Configuration)
func SkillScriptHookName ¶
Types ¶
type Configuration ¶
func GetConfiguration ¶
func GetConfiguration(L *lua.LState) (Configuration, bool)
Click to show internal directories.
Click to hide internal directories.