Skip to main content

IMapBattleWindowMethods

Trait IMapBattleWindowMethods 

Source
pub trait IMapBattleWindowMethods: IMapBattleWindow {
    // Provided methods
    fn setup(self, info: impl Into<BattleInfo>) -> MonoBehaviour { ... }
    fn start(self) { ... }
    fn update(self) { ... }
    fn on_gui(self) { ... }
    fn draw_window(
        self,
        x: impl Into<f32>,
        y: impl Into<f32>,
        index: impl Into<i32>,
        name: impl Into<Il2CppString>,
        force_type: impl Into<Force_Type>,
        max_hp: impl Into<i32>,
    ) { ... }
    fn draw_window_2(
        self,
        x: impl Into<f32>,
        y: impl Into<f32>,
        index: impl Into<i32>,
        unit: impl Into<Unit>,
    ) { ... }
    fn draw_window_3(
        self,
        x: impl Into<f32>,
        y: impl Into<f32>,
        index: impl Into<i32>,
        max_hp: impl Into<i32>,
        name: impl Into<Il2CppString>,
    ) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn setup(self, info: impl Into<BattleInfo>) -> MonoBehaviour

Setup(crate::app::battleinfo::BattleInfo) overload

Source

fn start(self)

Start() overload

Source

fn update(self)

Update() overload

Source

fn on_gui(self)

OnGUI() overload

Source

fn draw_window( self, x: impl Into<f32>, y: impl Into<f32>, index: impl Into<i32>, name: impl Into<Il2CppString>, force_type: impl Into<Force_Type>, max_hp: impl Into<i32>, )

DrawWindow(f32, f32, i32, ::unity::Il2CppString, crate::app::force::Force_Type, i32) overload

Source

fn draw_window_2( self, x: impl Into<f32>, y: impl Into<f32>, index: impl Into<i32>, unit: impl Into<Unit>, )

DrawWindow(f32, f32, i32, crate::app::unit::Unit) overload

Source

fn draw_window_3( self, x: impl Into<f32>, y: impl Into<f32>, index: impl Into<i32>, max_hp: impl Into<i32>, name: impl Into<Il2CppString>, )

DrawWindow(f32, f32, i32, i32, ::unity::Il2CppString) overload

Source

fn ctor(self)

.ctor() 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: IMapBattleWindow> IMapBattleWindowMethods for __T

Available on crate feature app-mapbattlewindow only.