Skip to main content

IGameUserGlobalDataMethods

Trait IGameUserGlobalDataMethods 

Source
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§

Source

fn ctor(self)

.ctor() overload

Source

fn reset(self)

Reset() overload

Source

fn get_last_save_data_type(self) -> GameSaveData_Types

GetLastSaveDataType() overload

Source

fn get_last_save_data_index(self) -> i32

GetLastSaveDataIndex() overload

Source

fn get_last_save_data_index_2(self, type: impl Into<GameSaveData_Types>) -> i32

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

Source

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

SetLastSaveDataInfo(crate::app::gamesavedata::GameSaveData_Types, i32) overload

Source

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

Source

fn get_version(self) -> i32

get_Version() overload

Source

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

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

Source

fn on_deserialize(self, stream: impl Into<Stream_2>, version: impl Into<i32>)

OnDeserialize(crate::app::stream_2::Stream_2, i32) overload

Source

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

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

Source

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

set_LastSaveDataIndex(i32) overload

Source

fn get_identifier_count(self) -> u32

get_IdentifierCount() overload

Source

fn set_identifier_count(self, value: impl Into<u32>)

set_IdentifierCount(u32) overload

Source

fn get_flag(self) -> GameUserGlobalData_FlagsField

get_Flag() overload

Source

fn completed(self)

Completed() overload

Source

fn clear_completed(self)

ClearCompleted() overload

Source

fn is_completed(self) -> bool

IsCompleted() overload

Source

fn set_completed(self, chapter: impl Into<ChapterData>)

SetCompleted(crate::app::chapterdata::ChapterData) overload

Source

fn clear_completed_2(self, chapter: impl Into<ChapterData>)

ClearCompleted(crate::app::chapterdata::ChapterData) overload

Source

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§

Source§

impl<__T: IGameUserGlobalData> IGameUserGlobalDataMethods for __T

Available on crate feature app-gameuserglobaldata only.