generatePacketId

abstract fun generatePacketId(): Int(source)

Generates a new unique packet ID.