RakNetPacket.OrderingChannel
Reads outgoing ordering channel. Incoming snapshots use zero for unavailable outgoing metadata.
Syntax
packet.OrderingChannel: number
Also available as
RakNetPacket.Channel
Returns
| Type | Description |
|---|---|
number | Outgoing ordering channel. Incoming snapshots use zero for unavailable outgoing metadata. |
Description
Packet metadata properties are read-only. Read the value inside the hook, and retain a byte copy when you need data afterward. Direct assignment to a packet property raises an error.
Example
local function inspect(packet)
local value = packet.OrderingChannel
print(value)
end
raknet.addsendhook(inspect)
task.delay(5, function() raknet.removesendhook(inspect) end)
These are Game executor contracts. Check build requirements and session lifetimes before using them.
