public static void Encode(XdrDataOutputStream stream, AssetType value) { stream.WriteInt((int)value.InnerValue); }