Atomic docs

raknet.getpacketlog

raknet.getpacketlog(): {table}

Everything captured so far. Each entry carries its sequence number, packet id, item id and name, priority, reliability, channel, size, whether it was blocked, a summary and the raw bytes.

Example

lua
for _, p in ipairs(raknet.getpacketlog()) do
    print(p.seq, p.id, p.size, p.blocked)
end
↑