generatePacketId

abstract fun generatePacketId(): Int(source)

A fresh non-zero packet ID from the active session's SDK client, which numbers its own sends and RPCs from the same counter, so a durable row and its wire packet share one identity.