Skip to main content

ISaveDataMenuMethods

Trait ISaveDataMenuMethods 

Source
pub trait ISaveDataMenuMethods: ISaveDataMenu {
    // Provided methods
    fn get_show_row_max(self) -> i32 { ... }
    fn is_save_from_period(self) -> bool { ... }
    fn ctor(
        self,
        menu_iltem_list: impl Into<List_1<BasicMenuItem>>,
        basic_menu_content: impl Into<BasicMenuContent>,
        prefab: impl Into<GameObject>,
        menu_sequence: impl Into<SaveDataMenuSequence>,
        mode: impl Into<SaveDataMenu_Mode>,
        save_data_header_reader: impl Into<GameSaveDataHeaderReader>,
    ) { ... }
    fn after_build(self) { ... }
    fn on_dispose(self) { ... }
    fn on_close(self) { ... }
    fn save_data_load_setting(
        self,
        type: impl Into<GameSaveData_Types>,
        index: impl Into<i32>,
    ) { ... }
    fn save_callback(
        self,
        is_success: impl Into<bool>,
        save_data_header: impl Into<GameSaveDataHeader>,
    ) { ... }
    fn copy_callback(
        self,
        is_success: impl Into<bool>,
        save_data_header: impl Into<GameSaveDataHeader>,
    ) { ... }
    fn delete_callback(self, is_success: impl Into<bool>) { ... }
    fn update_title_bar_text(self) { ... }
}

Provided Methods§

Source

fn get_show_row_max(self) -> i32

GetShowRowMax() overload

Source

fn is_save_from_period(self) -> bool

IsSaveFromPeriod() overload

Source

fn ctor( self, menu_iltem_list: impl Into<List_1<BasicMenuItem>>, basic_menu_content: impl Into<BasicMenuContent>, prefab: impl Into<GameObject>, menu_sequence: impl Into<SaveDataMenuSequence>, mode: impl Into<SaveDataMenu_Mode>, save_data_header_reader: impl Into<GameSaveDataHeaderReader>, )

.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::unity_engine::gameobject::GameObject, crate::app::savedatamenusequence::SaveDataMenuSequence, crate::app::savedatamenu::SaveDataMenu_Mode, crate::app::gamesavedataheaderreader::GameSaveDataHeaderReader) overload

Source

fn after_build(self)

AfterBuild() overload

Source

fn on_dispose(self)

OnDispose() overload

Source

fn on_close(self)

OnClose() overload

Source

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

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

Source

fn save_callback( self, is_success: impl Into<bool>, save_data_header: impl Into<GameSaveDataHeader>, )

SaveCallback(bool, crate::app::gamesavedataheader::GameSaveDataHeader) overload

Source

fn copy_callback( self, is_success: impl Into<bool>, save_data_header: impl Into<GameSaveDataHeader>, )

CopyCallback(bool, crate::app::gamesavedataheader::GameSaveDataHeader) overload

Source

fn delete_callback(self, is_success: impl Into<bool>)

DeleteCallback(bool) overload

Source

fn update_title_bar_text(self)

UpdateTitleBarText() 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: ISaveDataMenu> ISaveDataMenuMethods for __T

Available on crate feature app-savedatamenu only.