Add multiplayer-enum register macro to quickly make packet conversion functions for enums.