MitchellMarinoDev / carrier-pigeon

A rusty networking library for games.
Other
13 stars 2 forks source link

Add register by uuid #14

Open MitchellMarinoDev opened 1 week ago

MitchellMarinoDev commented 1 week ago

We need a way to order NetMsg's, so that we can give them all an incrementing integer associated with that NetMsg. Right now users can do this by:

  1. Registering them in a constant order
  2. Registering them with a unique string

We should add a way that relies on them having a uuid using type_uuid. This could just work by getting the uuid as a string and using the "unique string" method internally