> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getsignalarguments

> RBXScriptSignal event descriptor signature에서 읽은 type names의 array table을 반환합니다. 첫 번째 argument는 Luau type name이 RBXScriptSignal인 object여야 합니다. 이 function은 signal의 event descriptor를 읽고, function의 argument stride로 signature slots를 순회하며, 각 argument type reference를 읽은 다음 각 slot에 대해 확인된 type name string을 push합니다. captured runtime argument values는 반환하지 않습니다. signature를 읽을 수 없거나 entries가 push되지 않으면 반환된 table에는 fallback entry 하나인 "Variant"가 포함됩니다.

<div className="real-function-page">
  ```lua theme={null}
  getsignalarguments(signal: RBXScriptSignal): {string}
  ```

  ## 인수

  <ParamField path={"signal"} type={"RBXScriptSignal"} required>
    event descriptor signature를 검사할 signal입니다. RBXScriptSignal이 아닌 object는 type error를 발생시킵니다.
  </ParamField>

  ## 반환값

  <ResponseField name={"arguments"} type={"{string}"}>
    argument type name strings의 array table입니다. signature data를 읽을 수 없거나 argument entries가 생성되지 않으면 "Variant"를 포함하는 fallback table이 반환됩니다.
  </ResponseField>

  ## 예제

  Inspect an RBXScriptSignal signature and print the argument type names Real can read.

  ```lua theme={null}
  local ReplicatedStorage = game:GetService("ReplicatedStorage")
  local remote = ReplicatedStorage:FindFirstChild("RemoteEvent")

  if remote then
      for _, typeName in ipairs(getsignalarguments(remote.OnClientEvent)) do
          print(typeName)
      end
  end
  ```
</div>
