Documentation
¶
Index ¶
- type Env
- func (e *Env) Call(name string) error
- func (e *Env) LoadScript(name, script string) error
- func (e *Env) RegisterFn(name string, fn lua.Function)
- func (e *Env) RegisterGetterSetterNumber(name string, value *float64)
- func (e *Env) RegisterMap(name string, data map[string]any)
- func (e *Env) SetInt(name string, value int)
- type ScriptVM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func (*Env) LoadScript ¶
func (*Env) RegisterGetterSetterNumber ¶
Click to show internal directories.
Click to hide internal directories.