dynamicui

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModule

func GetModule() model.Module

GetModule 获取模块实例

Types

type DynamicUIModule

type DynamicUIModule struct {
	ThrowException bool // 是否抛出异常
	ShowWarning    bool // 是否显示警告信息
	Debug          bool // 是否开启调试模式(打印脚本堆栈信息)
}

DynamicUIModule dynamicui 模块

func New

func New() *DynamicUIModule

New 创建一个新的 DynamicUIModule 实例

func (*DynamicUIModule) Inject

func (m *DynamicUIModule) Inject(state *lua.LState)

Inject 将 dynamicui 模块注入到 Lua 状态中

func (*DynamicUIModule) IsAvailable

func (m *DynamicUIModule) IsAvailable() bool

IsAvailable 检查模块是否可用

func (*DynamicUIModule) Name

func (m *DynamicUIModule) Name() string

Name 返回模块名称

func (*DynamicUIModule) Register

func (m *DynamicUIModule) Register(engine model.Engine) error

Register 向引擎注册方法

Jump to

Keyboard shortcuts

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