#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
pub enum EUserReviewScorePreference {
Unset = 0,
IncludeAll = 1,
ExcludeBombs = 2,
}
impl EUserReviewScorePreference {
pub fn from_i32(val: i32) -> Option<Self> {
match val {
x if x == Self::Unset as i32 => Some(Self::Unset),
x if x == Self::IncludeAll as i32 => Some(Self::IncludeAll),
x if x == Self::ExcludeBombs as i32 => Some(Self::ExcludeBombs),
_ => None,
}
}
}