Type is an enum and can be built directly from an implicit cast
Also put the UNKNOWN back to 0 as it seems to be part of the game spec