pub trait IGameUserGlobalDataMethods: IGameUserGlobalData {
Show 21 methods
// Provided methods
fn ctor(self) { ... }
fn reset(self) { ... }
fn get_last_save_data_type(self) -> GameSaveData_Types { ... }
fn get_last_save_data_index(self) -> i32 { ... }
fn get_last_save_data_index_2(
self,
type: impl Into<GameSaveData_Types>,
) -> i32 { ... }
fn set_last_save_data_info(
self,
type: impl Into<GameSaveData_Types>,
index: impl Into<i32>,
) { ... }
fn is_last_save_data_info(
self,
type: impl Into<GameSaveData_Types>,
index: impl Into<i32>,
) -> bool { ... }
fn get_version(self) -> i32 { ... }
fn on_serialize(self, stream: impl Into<Stream_2>) { ... }
fn on_deserialize(
self,
stream: impl Into<Stream_2>,
version: impl Into<i32>,
) { ... }
fn set_last_save_data_type(self, value: impl Into<GameSaveData_Types>) { ... }
fn set_last_save_data_index(self, value: impl Into<i32>) { ... }
fn get_identifier_count(self) -> u32 { ... }
fn set_identifier_count(self, value: impl Into<u32>) { ... }
fn get_flag(self) -> GameUserGlobalData_FlagsField { ... }
fn completed(self) { ... }
fn clear_completed(self) { ... }
fn is_completed(self) -> bool { ... }
fn set_completed(self, chapter: impl Into<ChapterData>) { ... }
fn clear_completed_2(self, chapter: impl Into<ChapterData>) { ... }
fn is_completed_2(self, cid: impl Into<Il2CppString>) -> bool { ... }
}Provided Methods§
Sourcefn get_last_save_data_type(self) -> GameSaveData_Types
fn get_last_save_data_type(self) -> GameSaveData_Types
GetLastSaveDataType() overload
Sourcefn get_last_save_data_index(self) -> i32
fn get_last_save_data_index(self) -> i32
GetLastSaveDataIndex() overload
Sourcefn get_last_save_data_index_2(self, type: impl Into<GameSaveData_Types>) -> i32
fn get_last_save_data_index_2(self, type: impl Into<GameSaveData_Types>) -> i32
GetLastSaveDataIndex(crate::app::gamesavedata::GameSaveData_Types) overload
Sourcefn set_last_save_data_info(
self,
type: impl Into<GameSaveData_Types>,
index: impl Into<i32>,
)
fn set_last_save_data_info( self, type: impl Into<GameSaveData_Types>, index: impl Into<i32>, )
SetLastSaveDataInfo(crate::app::gamesavedata::GameSaveData_Types, i32) overload
Sourcefn is_last_save_data_info(
self,
type: impl Into<GameSaveData_Types>,
index: impl Into<i32>,
) -> bool
fn is_last_save_data_info( self, type: impl Into<GameSaveData_Types>, index: impl Into<i32>, ) -> bool
IsLastSaveDataInfo(crate::app::gamesavedata::GameSaveData_Types, i32) overload
Sourcefn get_version(self) -> i32
fn get_version(self) -> i32
get_Version() overload
Sourcefn on_serialize(self, stream: impl Into<Stream_2>)
fn on_serialize(self, stream: impl Into<Stream_2>)
OnSerialize(crate::app::stream_2::Stream_2) overload
Sourcefn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)
OnDeserialize(crate::app::stream_2::Stream_2, i32) overload
Sourcefn set_last_save_data_type(self, value: impl Into<GameSaveData_Types>)
fn set_last_save_data_type(self, value: impl Into<GameSaveData_Types>)
set_LastSaveDataType(crate::app::gamesavedata::GameSaveData_Types) overload
Sourcefn set_last_save_data_index(self, value: impl Into<i32>)
fn set_last_save_data_index(self, value: impl Into<i32>)
set_LastSaveDataIndex(i32) overload
Sourcefn get_identifier_count(self) -> u32
fn get_identifier_count(self) -> u32
get_IdentifierCount() overload
Sourcefn set_identifier_count(self, value: impl Into<u32>)
fn set_identifier_count(self, value: impl Into<u32>)
set_IdentifierCount(u32) overload
Sourcefn get_flag(self) -> GameUserGlobalData_FlagsField
fn get_flag(self) -> GameUserGlobalData_FlagsField
get_Flag() overload
Sourcefn clear_completed(self)
fn clear_completed(self)
ClearCompleted() overload
Sourcefn is_completed(self) -> bool
fn is_completed(self) -> bool
IsCompleted() overload
Sourcefn set_completed(self, chapter: impl Into<ChapterData>)
fn set_completed(self, chapter: impl Into<ChapterData>)
SetCompleted(crate::app::chapterdata::ChapterData) overload
Sourcefn clear_completed_2(self, chapter: impl Into<ChapterData>)
fn clear_completed_2(self, chapter: impl Into<ChapterData>)
ClearCompleted(crate::app::chapterdata::ChapterData) overload
Sourcefn is_completed_2(self, cid: impl Into<Il2CppString>) -> bool
fn is_completed_2(self, cid: impl Into<Il2CppString>) -> bool
IsCompleted(::unity::Il2CppString) 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§
impl<__T: IGameUserGlobalData> IGameUserGlobalDataMethods for __T
app-gameuserglobaldata only.