Skip to main content

TieUtils

Functions

encode

TieUtils.encode(...any) → ...any

Encoding arguments for Tie consumption. Namely this will convert any table into a closure for encoding.

encodeCallback

TieUtils.encodeCallback(callbackfunction) → ()

Encodes a given callback so it can be assigned to a BindableFunction

invokeEncodedBindableFunction

TieUtils.invokeEncodedBindableFunction(
bindableFunctionBindableFunction,
...any
) → any

Encodes a given callback so it can be assigned to a BindableFunction

decode

TieUtils.decode(...any) → ...any

Decodes arguments for Tie consumption.

Show raw api
{
    "functions": [
        {
            "name": "encode",
            "desc": "Encoding arguments for Tie consumption. Namely this will convert any table\ninto a closure for encoding.",
            "params": [
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "... any"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 17,
                "path": "src/tie/src/Shared/Utils/TieUtils.lua"
            }
        },
        {
            "name": "encodeCallback",
            "desc": "Encodes a given callback so it can be assigned to a BindableFunction",
            "params": [
                {
                    "name": "callback",
                    "desc": "",
                    "lua_type": "function"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 40,
                "path": "src/tie/src/Shared/Utils/TieUtils.lua"
            }
        },
        {
            "name": "invokeEncodedBindableFunction",
            "desc": "Encodes a given callback so it can be assigned to a BindableFunction",
            "params": [
                {
                    "name": "bindableFunction",
                    "desc": "",
                    "lua_type": "BindableFunction"
                },
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 54,
                "path": "src/tie/src/Shared/Utils/TieUtils.lua"
            }
        },
        {
            "name": "decode",
            "desc": "Decodes arguments for Tie consumption.",
            "params": [
                {
                    "name": "...",
                    "desc": "",
                    "lua_type": "any"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "... any"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 65,
                "path": "src/tie/src/Shared/Utils/TieUtils.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "TieUtils",
    "desc": "",
    "source": {
        "line": 4,
        "path": "src/tie/src/Shared/Utils/TieUtils.lua"
    }
}