Skip to main content

别名

  • getsignals
  • get_signal_cons

参数

RBXScriptSignal
必填
要检查的 signal。非 RBXScriptSignal object 会抛出 type error,没有可调用 Connect field 的 signal 会抛出 “Signal does not have ‘Connect’ method”。

返回值

{RealConnection}
connection closure tables 的 array table。每个 closure 通过其 methods 暴露 fields 和 methods,包括可用时的 Enabled, Disabled, LuaConnection, ForeignState, Function, Thread, Disconnect, Disable, Enable, Fire 和 Defer。

示例

Inspect an RBXScriptSignal and list the wrapped connections Real can expose.