MitchellMarinoDev / carrier-pigeon

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

Feature/generic #10

Closed MitchellMarinoDev closed 1 year ago

MitchellMarinoDev commented 1 year ago

This adds the NetMsg trait, and generics back into carrier-pigeon. The generics help remove some type checking code and allows those checks to be done a compile time. The biggest drawback of this is that it adds a lot of type complexity. This can be mitigated using type aliases. This also unblocks a feature I am working on.