generatePacketId

abstract fun generatePacketId(): Int(source)

A fresh non-zero ID from the active session's SDK client, or a random non-zero one without a session, for an object that needs a mesh-unique id, such as a waypoint.