[−][src]Struct genie_rec::actions::Meta
Action at the start of the game, contains settings affecting the rec format.
Fields
log_version: Option<u32>
The version of the action log format.
3
for AoC 1.0, 4
for AoC 1.0c and UserPatch.
checksum_interval: u32
is_multiplayer: bool
use_sequence_numbers: bool
local_player_id: PlayerID
header_position: u32
num_chapters: Option<u32>
The amount of saved chapters in this rec / save game. This is only set if the game version that generated the file supports saved chapters (i.e. The Conquerors and up).
Implementations
impl Meta
[src]
pub fn read_from_mgl(input: impl Read) -> Result<Self>
[src]
Read recorded game body metadata in the mgl
format used by Age of Empires 2: The
Age Of Kings.
pub fn read_from_mgx(input: impl Read) -> Result<Self>
[src]
Read recorded game body metadata in the mgx
format used by Age of Empires 2: The
Conquerors and all subsequent versions.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Meta
impl Send for Meta
impl Sync for Meta
impl Unpin for Meta
impl UnwindSafe for Meta
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>,