pub trait IMapUnitAICommandMenuMethods: IMapUnitAICommandMenu {
// Provided methods
fn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<MapUnitCommandMenuContent>,
unit: impl Into<Unit>,
open_callback: impl Into<Action>,
close_callback: impl Into<Action>,
) { ... }
fn get_flag_id(self) -> Il2CppString { ... }
fn after_build(self) { ... }
fn tick(self) { ... }
fn on_create(self) { ... }
fn on_dispose(self) { ... }
}Provided Methods§
Sourcefn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<MapUnitCommandMenuContent>,
unit: impl Into<Unit>,
open_callback: impl Into<Action>,
close_callback: impl Into<Action>,
)
fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<MapUnitCommandMenuContent>, unit: impl Into<Unit>, open_callback: impl Into<Action>, close_callback: impl Into<Action>, )
.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::mapunitcommandmenucontent::MapUnitCommandMenuContent, crate::app::unit::Unit, crate::system::action::Action, crate::system::action::Action) overload
Sourcefn get_flag_id(self) -> Il2CppString
fn get_flag_id(self) -> Il2CppString
get_FlagID() overload
Sourcefn after_build(self)
fn after_build(self)
AfterBuild() overload
Sourcefn on_dispose(self)
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§
impl<__T: IMapUnitAICommandMenu> IMapUnitAICommandMenuMethods for __T
Available on crate feature
app-mapunitaicommandmenu only.