INNER CODE UNIT · Rust

scenery

pingw33n/vault13 · src/asset.rs:77

    pub fn scenery(self) -> Option<SceneryKind> {
        if let ExactEntityKind::Scenery(v) = self {
            Some(v)
        } else {
            None
        }
    }
}

#[derive(Clone, Copy, Debug, Eq, Linearize, PartialEq, Ord, PartialOrd, Primitive)]
pub enum SceneryKind {
    Door = 0x0,
    Stairs = 0x1,
    Elevator = 0x2,
    LadderDown = 0x3,
    LadderUp = 0x4,
    Misc = 0x5,
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…