network.getblocked
Lists blocked packet types.
Syntax
Signature
network.getblocked(Direction: string?) -> {number}Aliases
raknet.getblockedpackets.getblockedRakNet.getblocked
Parameters
| Parameter | Type | Description |
|---|---|---|
Direction | string? | Packet direction. Defaults to outgoing. |
Returns
| Type | Description |
|---|---|
{number} | One-based list of blocked packet IDs. |
Notes
Direction defaults to outgoing. Incoming aliases are incoming, receive, and received. Outgoing aliases are outgoing, send, and sent.
Example
Luau
for _, Id in network.getblocked("outgoing") do
print(Id)
end