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§
Sourcefn setup(self, info: impl Into<BattleInfo>) -> MonoBehaviour
fn setup(self, info: impl Into<BattleInfo>) -> MonoBehaviour
Setup(crate::app::battleinfo::BattleInfo) overload
Sourcefn 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( 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
Sourcefn draw_window_2(
self,
x: impl Into<f32>,
y: impl Into<f32>,
index: impl Into<i32>,
unit: impl Into<Unit>,
)
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
Sourcefn 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 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
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§
impl<__T: IMapBattleWindow> IMapBattleWindowMethods for __T
Available on crate feature
app-mapbattlewindow only.