Skip to main content

IChallengeDifficultyMenuMethods

Trait IChallengeDifficultyMenuMethods 

Source
pub trait IChallengeDifficultyMenuMethods: IChallengeDifficultyMenu {
    // Provided methods
    fn get_difficulty(self) -> i32 { ... }
    fn set_difficulty(self, value: impl Into<i32>) { ... }
    fn ctor(
        self,
        root: impl Into<ChallengeMapSelectRoot>,
        menu_item_list: impl Into<List_1<BasicMenuItem>>,
        menu_content: impl Into<BasicMenuContent>,
        request_close_event_handler: impl Into<ChallengeDifficultyMenu_RequestCloseEventHandler>,
    ) { ... }
    fn get_name(self) -> Il2CppString { ... }
    fn key_left(self, is_trigger: impl Into<bool>) { ... }
    fn key_right(self, is_trigger: impl Into<bool>) { ... }
    fn b_call(self) -> BasicMenu_Result { ... }
    fn on_dispose(self) { ... }
}

Provided Methods§

Source

fn get_difficulty(self) -> i32

get_Difficulty() overload

Source

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

set_Difficulty(i32) overload

Source

fn ctor( self, root: impl Into<ChallengeMapSelectRoot>, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<BasicMenuContent>, request_close_event_handler: impl Into<ChallengeDifficultyMenu_RequestCloseEventHandler>, )

.ctor(crate::app::challengemapselectroot::ChallengeMapSelectRoot, crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::basicmenucontent::BasicMenuContent, crate::app::challengedifficultymenu::ChallengeDifficultyMenu_RequestCloseEventHandler) overload

Source

fn get_name(self) -> Il2CppString

GetName() overload

Source

fn key_left(self, is_trigger: impl Into<bool>)

KeyLeft(bool) overload

Source

fn key_right(self, is_trigger: impl Into<bool>)

KeyRight(bool) overload

Source

fn b_call(self) -> BasicMenu_Result

BCall() overload

Source

fn on_dispose(self)

OnDispose() 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: IChallengeDifficultyMenu> IChallengeDifficultyMenuMethods for __T

Available on crate feature app-challengedifficultymenu only.