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