Skip to main content

IGameSaveDataMethods

Trait IGameSaveDataMethods 

Source
pub trait IGameSaveDataMethods: IGameSaveData {
Show 28 methods // Provided methods fn ctor(self) { ... } fn ctor_2(self, type: impl Into<GameSaveData_Types>, index: impl Into<i32>) { ... } fn read(self, super_: impl Into<ProcInst>) { ... } fn write(self, super_: impl Into<ProcInst>) { ... } fn delete(self, super_: impl Into<ProcInst>) { ... } fn copy(self, super_: impl Into<ProcInst>) { ... } fn get_file_path(self) -> Il2CppString { ... } fn is_write_with_global(self) -> bool { ... } fn serialize(self, stream: impl Into<Stream_2>) { ... } fn deserialize(self, stream: impl Into<Stream_2>) -> bool { ... } fn get_type(self) -> GameSaveData_Types { ... } fn set_type(self, value: impl Into<GameSaveData_Types>) { ... } fn get_index(self) -> i32 { ... } fn set_index(self, value: impl Into<i32>) { ... } fn get_from_type(self) -> GameSaveData_Types { ... } fn set_from_type(self, value: impl Into<GameSaveData_Types>) { ... } fn get_from_index(self) -> i32 { ... } fn set_from_index(self, value: impl Into<i32>) { ... } fn get_header(self) -> GameSaveDataHeader { ... } fn set_header(self, value: impl Into<GameSaveDataHeader>) { ... } fn get_is_success(self) -> bool { ... } fn set_is_success(self, value: impl Into<bool>) { ... } fn get_is_exclude_header_and_time(self) -> bool { ... } fn set_is_exclude_header_and_time(self, value: impl Into<bool>) { ... } fn serialize_common(self, stream: impl Into<Stream_2>) { ... } fn deserialize_common(self, stream: impl Into<Stream_2>) -> bool { ... } fn serialize_global(self, stream: impl Into<Stream_2>) { ... } fn deserialize_global(self, stream: impl Into<Stream_2>) -> bool { ... }
}

Provided Methods§

Source

fn ctor(self)

.ctor() overload

Source

fn ctor_2(self, type: impl Into<GameSaveData_Types>, index: impl Into<i32>)

.ctor(crate::app::gamesavedata::GameSaveData_Types, i32) overload

Source

fn read(self, super_: impl Into<ProcInst>)

Read(crate::app::procinst::ProcInst) overload

Source

fn write(self, super_: impl Into<ProcInst>)

Write(crate::app::procinst::ProcInst) overload

Source

fn delete(self, super_: impl Into<ProcInst>)

Delete(crate::app::procinst::ProcInst) overload

Source

fn copy(self, super_: impl Into<ProcInst>)

Copy(crate::app::procinst::ProcInst) overload

Source

fn get_file_path(self) -> Il2CppString

GetFilePath() overload

Source

fn is_write_with_global(self) -> bool

IsWriteWithGlobal() overload

Source

fn serialize(self, stream: impl Into<Stream_2>)

Serialize(crate::app::stream_2::Stream_2) overload

Source

fn deserialize(self, stream: impl Into<Stream_2>) -> bool

Deserialize(crate::app::stream_2::Stream_2) overload

Source

fn get_type(self) -> GameSaveData_Types

get_Type() overload

Source

fn set_type(self, value: impl Into<GameSaveData_Types>)

set_Type(crate::app::gamesavedata::GameSaveData_Types) overload

Source

fn get_index(self) -> i32

get_Index() overload

Source

fn set_index(self, value: impl Into<i32>)

set_Index(i32) overload

Source

fn get_from_type(self) -> GameSaveData_Types

get_FromType() overload

Source

fn set_from_type(self, value: impl Into<GameSaveData_Types>)

set_FromType(crate::app::gamesavedata::GameSaveData_Types) overload

Source

fn get_from_index(self) -> i32

get_FromIndex() overload

Source

fn set_from_index(self, value: impl Into<i32>)

set_FromIndex(i32) overload

Source

fn get_header(self) -> GameSaveDataHeader

get_Header() overload

Source

fn set_header(self, value: impl Into<GameSaveDataHeader>)

set_Header(crate::app::gamesavedataheader::GameSaveDataHeader) overload

Source

fn get_is_success(self) -> bool

get_IsSuccess() overload

Source

fn set_is_success(self, value: impl Into<bool>)

set_IsSuccess(bool) overload

Source

fn get_is_exclude_header_and_time(self) -> bool

get_IsExcludeHeaderAndTime() overload

Source

fn set_is_exclude_header_and_time(self, value: impl Into<bool>)

set_IsExcludeHeaderAndTime(bool) overload

Source

fn serialize_common(self, stream: impl Into<Stream_2>)

SerializeCommon(crate::app::stream_2::Stream_2) overload

Source

fn deserialize_common(self, stream: impl Into<Stream_2>) -> bool

DeserializeCommon(crate::app::stream_2::Stream_2) overload

Source

fn serialize_global(self, stream: impl Into<Stream_2>)

SerializeGlobal(crate::app::stream_2::Stream_2) overload

Source

fn deserialize_global(self, stream: impl Into<Stream_2>) -> bool

DeserializeGlobal(crate::app::stream_2::Stream_2) overload

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<__T: IGameSaveData> IGameSaveDataMethods for __T

Available on crate feature app-gamesavedata only.