Skip to main content

IChallengeDifficultyManagerMethods

Trait IChallengeDifficultyManagerMethods 

Source
pub trait IChallengeDifficultyManagerMethods: IChallengeDifficultyManager {
    // Provided methods
    fn ctor(
        self,
        super_: impl Into<ProcInst>,
        root: impl Into<ChallengeMapSelectRoot>,
        challenge_data: impl Into<ChallengeData>,
        return_event_handler: impl Into<ChallengeDifficultyManager_ReturnEventHandler>,
    ) { ... }
    fn on_decide(self, difficulty: impl Into<i32>) { ... }
    fn on_decide_yes(self) { ... }
    fn on_request_close(self, difficulty: impl Into<i32>) { ... }
}

Provided Methods§

Source

fn ctor( self, super_: impl Into<ProcInst>, root: impl Into<ChallengeMapSelectRoot>, challenge_data: impl Into<ChallengeData>, return_event_handler: impl Into<ChallengeDifficultyManager_ReturnEventHandler>, )

.ctor(crate::app::procinst::ProcInst, crate::app::challengemapselectroot::ChallengeMapSelectRoot, crate::app::challengedata::ChallengeData, crate::app::challengedifficultymanager::ChallengeDifficultyManager_ReturnEventHandler) overload

Source

fn on_decide(self, difficulty: impl Into<i32>)

OnDecide(i32) overload

Source

fn on_decide_yes(self)

OnDecideYes() overload

Source

fn on_request_close(self, difficulty: impl Into<i32>)

OnRequestClose(i32) 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: IChallengeDifficultyManager> IChallengeDifficultyManagerMethods for __T

Available on crate feature app-challengedifficultymanager only.