Skip to main content

client

Functions

DataReceived

client.DataReceived(bbuffer) → ()

Should be provided the buffer of replicated changes the server sends.

AwaitDataAsync

client.AwaitDataAsync() → table

Waits for the root replication table of the client to be received from server.

Show raw api
{
    "functions": [
        {
            "name": "DataReceived",
            "desc": "Should be provided the buffer of replicated changes the server sends.",
            "params": [
                {
                    "name": "b",
                    "desc": "",
                    "lua_type": "buffer"
                }
            ],
            "returns": [],
            "function_type": "static",
            "source": {
                "line": 192,
                "path": "docs_luau/moonwave.luau"
            }
        },
        {
            "name": "AwaitDataAsync",
            "desc": "Waits for the root replication table of the client to be received from server.",
            "params": [],
            "returns": [
                {
                    "desc": "",
                    "lua_type": "table"
                }
            ],
            "function_type": "static",
            "source": {
                "line": 197,
                "path": "docs_luau/moonwave.luau"
            }
        }
    ],
    "properties": [],
    "types": [],
    "name": "client",
    "desc": "",
    "source": {
        "line": 187,
        "path": "docs_luau/moonwave.luau"
    }
}