#![allow(non_camel_case_types)]
#![allow(non_upper_case_globals)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
#[repr(i32)]
pub enum EAsyncGameSessionUserVisibility {
    EnvelopeAndSessionList = 0,
    SessionListOnly = 1,
    Dismissed = 2,
}

impl EAsyncGameSessionUserVisibility {
    pub fn from_i32(val: i32) -> Option<Self> {
        match val {
            x if x == Self::EnvelopeAndSessionList as i32 => Some(Self::EnvelopeAndSessionList),
            x if x == Self::SessionListOnly as i32 => Some(Self::SessionListOnly),
            x if x == Self::Dismissed as i32 => Some(Self::Dismissed),
            _ => None,
        }
    }
}
