Skip to main content

ReplicatorReferences

Handles mapping of references to the new value.

Functions

isReplicatorReferences

ReplicatorReferences.isReplicatorReferences(replicatorReferencesany?) → boolean

Returns true if the argument is a replicator references

ObserveReferenceChanged

ReplicatorReferences:ObserveReferenceChanged(
origInstance,
callbackfunction
) → function--

Call to disconnect

Observes when a reference changes. Discount Rx observable since we're the loader and don't want a whole copy of Rx.

Show raw api
{
    "functions": [
        {
            "name": "isReplicatorReferences",
            "desc": "Returns true if the argument is a replicator references",
            "params": [
                {
                    "name": "replicatorReferences",
                    "desc": "",
                    "lua_type": "any?"
                }
            ],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "boolean"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 26,
                "path": "src/loader/src/Replication/ReplicatorReferences.lua"
            }
        },
        {
            "name": "ObserveReferenceChanged",
            "desc": "Observes when a reference changes. Discount Rx observable since we're\nthe loader and don't want a whole copy of Rx.",
            "params": [
                {
                    "name": "orig",
                    "desc": "",
                    "lua_type": "Instance"
                },
                {
                    "name": "callback",
                    "desc": "",
                    "lua_type": "function"
                }
            ],
            "returns": [
                {
                    "desc": "Call to disconnect",
                    "lua_type": "function"
                }
            ],
            "function_type": "method",
            "source": {
                "line": 76,
                "path": "src/loader/src/Replication/ReplicatorReferences.lua"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "ReplicatorReferences",
    "desc": "Handles mapping of references to the new value.",
    "source": {
        "line": 6,
        "path": "src/loader/src/Replication/ReplicatorReferences.lua"
    }
}