[−][src]Struct genie_scx::VersionBundle
All the versions an SCX file uses in a single struct.
Fields
format: SCXVersion
The version of the 'container' file format.
header: u32
The version of the header.
dlc_options: Option<i32>
The version of the HD Edition DLC Options, only if header
>= 3.
data: f32
The compressed data version.
picture: u32
The version of embedded bitmaps.
victory: f32
The version of the victory conditions data.
triggers: Option<f64>
The version of the trigger system.
map: u32
The version of the map data.
Implementations
impl VersionBundle
[src]
pub fn aoe() -> Self
[src]
A version bundle with the parameters AoE1 uses by default.
pub fn ror() -> Self
[src]
A version bundle with the parameters AoE1: Rise of Rome uses by default.
pub fn aok() -> Self
[src]
A version bundle with the parameters AoK uses by default.
pub fn aoc() -> Self
[src]
A version bundle with the parameters AoC uses by default
pub fn userpatch_14() -> Self
[src]
A version bundle with the parameters UserPatch 1.4 uses by default.
pub fn userpatch_15() -> Self
[src]
A version bundle with the parameters UserPatch 1.5 uses by default.
pub fn hd_edition() -> Self
[src]
A version bundle with the parameters HD Edition uses by default.
pub fn aoe2_de() -> Self
[src]
A version bundle with parameters Age of Empires 2: Definitive Edition uses by default.
This will be updated along with DE2 patches.
pub fn is_aok(&self) -> bool
[src]
Returns whether this version is (likely) for an AoK scenario.
pub fn is_aoc(&self) -> bool
[src]
Returns whether this version is (likely) for an AoC scenario.
pub fn is_hd_edition(&self) -> bool
[src]
Returns whether this version is (likely) for an HD Edition scenario.
pub fn is_age2_de(&self) -> bool
[src]
Returns whether this version is (likely) for an AoE2: Definitive Edition scenario.
Trait Implementations
impl Clone for VersionBundle
[src]
fn clone(&self) -> VersionBundle
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for VersionBundle
[src]
impl PartialEq<VersionBundle> for VersionBundle
[src]
fn eq(&self, other: &VersionBundle) -> bool
[src]
fn ne(&self, other: &VersionBundle) -> bool
[src]
impl StructuralPartialEq for VersionBundle
[src]
Auto Trait Implementations
impl RefUnwindSafe for VersionBundle
impl Send for VersionBundle
impl Sync for VersionBundle
impl Unpin for VersionBundle
impl UnwindSafe for VersionBundle
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,