pub trait IRefreshUnitSetMenuMethods: IRefreshUnitSetMenu {
Show 25 methods
// Provided methods
fn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<RefreshUnitSetMenuContent>,
initial_select_index: impl Into<i32>,
unit_array_dic: impl Into<Dictionary_2<Il2CppString, Array<Unit>>>,
initial_facility_data: impl Into<HubFacilityData>,
select_facility_event_handler: impl Into<RefreshUnitSetMenu_SelectFacilityEventHandler>,
set_unit_event_handler: impl Into<RefreshUnitSetMenu_SetUnitEventHandler>,
decide_event_handler: impl Into<RefreshUnitSetMenu_DecideEventHandler>,
) { ... }
fn get_name(self) -> Il2CppString { ... }
fn get_facility_data(self) -> HubFacilityData { ... }
fn inc_facility_index(self) { ... }
fn dec_facility_index(self) { ... }
fn is_selected_first_facility(self) -> bool { ... }
fn is_selected_last_facility(self) -> bool { ... }
fn change_facility_index(self) { ... }
fn updata_facility(self) { ... }
fn set_unit(self, index: impl Into<i32>, unit: impl Into<Unit>) { ... }
fn entrust_unit(self) { ... }
fn decide_unit(self, index: impl Into<i32>, decided: impl Into<bool>) { ... }
fn update_reliance(self) { ... }
fn is_enabled_decide_menu(self) -> bool { ... }
fn is_usabled_decide_menu(self) -> bool { ... }
fn update_decide_menu(self) { ... }
fn focus_decide_menu(self) { ... }
fn focus_this_menu(self) { ... }
fn key_up(self, is_trigger: impl Into<bool>) { ... }
fn key_down(self, is_trigger: impl Into<bool>) { ... }
fn key_left(self, is_trigger: impl Into<bool>) { ... }
fn key_right(self, is_trigger: impl Into<bool>) { ... }
fn l_call(self) -> BasicMenu_Result { ... }
fn b_call(self) -> BasicMenu_Result { ... }
fn on_dispose(self) { ... }
}Provided Methods§
Sourcefn ctor(
self,
menu_item_list: impl Into<List_1<BasicMenuItem>>,
menu_content: impl Into<RefreshUnitSetMenuContent>,
initial_select_index: impl Into<i32>,
unit_array_dic: impl Into<Dictionary_2<Il2CppString, Array<Unit>>>,
initial_facility_data: impl Into<HubFacilityData>,
select_facility_event_handler: impl Into<RefreshUnitSetMenu_SelectFacilityEventHandler>,
set_unit_event_handler: impl Into<RefreshUnitSetMenu_SetUnitEventHandler>,
decide_event_handler: impl Into<RefreshUnitSetMenu_DecideEventHandler>,
)
fn ctor( self, menu_item_list: impl Into<List_1<BasicMenuItem>>, menu_content: impl Into<RefreshUnitSetMenuContent>, initial_select_index: impl Into<i32>, unit_array_dic: impl Into<Dictionary_2<Il2CppString, Array<Unit>>>, initial_facility_data: impl Into<HubFacilityData>, select_facility_event_handler: impl Into<RefreshUnitSetMenu_SelectFacilityEventHandler>, set_unit_event_handler: impl Into<RefreshUnitSetMenu_SetUnitEventHandler>, decide_event_handler: impl Into<RefreshUnitSetMenu_DecideEventHandler>, )
.ctor(crate::system::collections::generic::list_1::List_1<crate::app::basicmenuitem::BasicMenuItem>, crate::app::refreshunitsetmenucontent::RefreshUnitSetMenuContent, i32, crate::system::collections::generic::dictionary_2::Dictionary_2<::unity::Il2CppString,::unity::Array<crate::app::unit::Unit>>, crate::app::hubfacilitydata::HubFacilityData, crate::app::refreshunitsetmenu::RefreshUnitSetMenu_SelectFacilityEventHandler, crate::app::refreshunitsetmenu::RefreshUnitSetMenu_SetUnitEventHandler, crate::app::refreshunitsetmenu::RefreshUnitSetMenu_DecideEventHandler) overload
Sourcefn get_name(self) -> Il2CppString
fn get_name(self) -> Il2CppString
GetName() overload
Sourcefn get_facility_data(self) -> HubFacilityData
fn get_facility_data(self) -> HubFacilityData
GetFacilityData() overload
Sourcefn inc_facility_index(self)
fn inc_facility_index(self)
IncFacilityIndex() overload
Sourcefn dec_facility_index(self)
fn dec_facility_index(self)
DecFacilityIndex() overload
Sourcefn is_selected_first_facility(self) -> bool
fn is_selected_first_facility(self) -> bool
IsSelectedFirstFacility() overload
Sourcefn is_selected_last_facility(self) -> bool
fn is_selected_last_facility(self) -> bool
IsSelectedLastFacility() overload
Sourcefn change_facility_index(self)
fn change_facility_index(self)
ChangeFacilityIndex() overload
Sourcefn updata_facility(self)
fn updata_facility(self)
UpdataFacility() overload
Sourcefn set_unit(self, index: impl Into<i32>, unit: impl Into<Unit>)
fn set_unit(self, index: impl Into<i32>, unit: impl Into<Unit>)
SetUnit(i32, crate::app::unit::Unit) overload
Sourcefn entrust_unit(self)
fn entrust_unit(self)
EntrustUnit() overload
Sourcefn decide_unit(self, index: impl Into<i32>, decided: impl Into<bool>)
fn decide_unit(self, index: impl Into<i32>, decided: impl Into<bool>)
DecideUnit(i32, bool) overload
Sourcefn update_reliance(self)
fn update_reliance(self)
UpdateReliance() overload
IsEnabledDecideMenu() overload
IsUsabledDecideMenu() overload
UpdateDecideMenu() overload
FocusDecideMenu() overload
FocusThisMenu() overload
Sourcefn l_call(self) -> BasicMenu_Result
fn l_call(self) -> BasicMenu_Result
LCall() overload
Sourcefn b_call(self) -> BasicMenu_Result
fn b_call(self) -> BasicMenu_Result
BCall() 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: IRefreshUnitSetMenu> IRefreshUnitSetMenuMethods for __T
app-refreshunitsetmenu only.