Hierarchy

  • default

Constructors

Methods

  • 获取函数信息对应的TS的代码行

    Parameters

    • functionInfo: FunctionInfo<Function>

    Returns string | number

  • 获取TS代码文件路径与名字与代码行

    Parameters

    • functionInfo: FunctionInfo<Function>

    Returns string

    • 'c': the hook is called every time Lua calls a function;
    • 'r': the hook is called every time Lua returns from a function;
    • 'l': the hook is called every time Lua enters a new line of code. 'call' | 'return' | 'line' | 'count'

    Parameters

    • hook: ((event: "count" | "call" | "return" | "line", line?: number) => any)
        • (event: "count" | "call" | "return" | "line", line?: number): any
        • Parameters

          • event: "count" | "call" | "return" | "line"
          • Optional line: number

          Returns any

    • mask: string

    Returns void