Struct satisfactory_save_file::SaveFile [−][src]
pub struct SaveFile {Show fields
    pub save_header: i32,
    pub save_version: i32,
    pub build_version: i32,
    pub world_type: String,
    pub world_properties: WorldProperties,
    pub session_name: String,
    pub play_time: Duration,
    pub save_date: DateTime<Utc>,
    pub session_visibility: SessionVisiblity,
    pub editor_object_version: i32,
    pub mod_meta_data: String,
    pub is_modded_save: bool,
    pub save_objects: Vec<SaveObject>,
}Expand description
Satisfactory save file.
Fields
save_header: i32save_version: i32build_version: i32world_type: Stringworld_properties: WorldPropertiessession_name: Stringplay_time: Durationsave_date: DateTime<Utc>session_visibility: SessionVisiblityeditor_object_version: i32mod_meta_data: Stringis_modded_save: boolsave_objects: Vec<SaveObject>Implementations
impl SaveFile[src]
impl SaveFile[src]pub fn parse<R>(file: &mut R) -> Result<SaveFile> where
    R: Read + Seek, [src]
pub fn parse<R>(file: &mut R) -> Result<SaveFile> where
    R: Read + Seek, [src]Reads satisfactory save file to SaveFile struct.
Save files are stored in %localappdata%\FactoryGame\Saved\SaveGames\<your id> and it has a
.sav extension.
Tested with build version 152331.
Do not pass a BufReader. I don’t know why this fails with BufReader.
Trait Implementations
impl StructuralPartialEq for SaveFile[src]
Auto Trait Implementations
impl RefUnwindSafe for SaveFile
impl Send for SaveFile
impl Sync for SaveFile
impl Unpin for SaveFile
impl UnwindSafe for SaveFile
Blanket Implementations
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
    T: Clone, [src]
impl<T> ToOwned for T where
    T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more