View flow coordinator base class.
More...
#include <HMUIViewFlowCoordinator.hpp>
|
| CP_SDK_IL2CPP_OVERRIDE_METHOD_EX (HMUI, FlowCoordinator, void, DidActivate, bool p_FirstActivation, bool p_AddedToHierarchy, bool p_ScreenSystemEnabling) |
| On activation.
|
|
| CP_SDK_IL2CPP_OVERRIDE_METHOD_EX (HMUI, FlowCoordinator, void, BackButtonWasPressed, HMUI::ViewController *p_TopViewController) |
| When the back button is pressed.
|
|
void | Present (bool p_IgnoreBackuping=false) |
| Present this HMUIViewFlowCoordinator.
|
|
void | Dismiss () |
| Dismiss this HMUIViewFlowCoordinator.
|
|
void | HideLeftScreen () |
| Hide the left screen.
|
|
void | HideRightScreen () |
| Hide the right screen.
|
|
void | ChangeView (HMUI::ViewController *p_NewView, HMUI::ViewController *p_Left=nullptr, HMUI::ViewController *p_Right=nullptr) |
| Enqueue a main view controller change.
|
|
|
template<class t_ViewController >
requires (std::is_assignable_v<HMUI::ViewController*&, t_ViewController>) |
t_ViewController | CreateViewController () |
| Create a view controller.
|
|
|
template<class t_ViewController >
requires (std::is_assignable_v<HMUI::ViewController*&, t_ViewController*>) |
static void | DestroyViewController (_v::MonoPtr< t_ViewController > *p_ViewController) |
| Destroy view controller.
|
|
View flow coordinator base class.
Definition at line 33 of file HMUIViewFlowCoordinator.hpp.
◆ _Destroy()
static void CP_SDK_BS::UI::HMUIViewFlowCoordinator::_Destroy |
( |
| ) |
|
|
inlinestatic |
◆ _Instance()
static _v::MonoPtr< t_Base > & CP_SDK_BS::UI::HMUIViewFlowCoordinator::_Instance |
( |
| ) |
|
|
inlinestatic |
◆ ChangeView()
void CP_SDK_BS::UI::HMUIViewFlowCoordinator::ChangeView |
( |
HMUI::ViewController * |
p_NewView, |
|
|
HMUI::ViewController * |
p_Left = nullptr , |
|
|
HMUI::ViewController * |
p_Right = nullptr |
|
) |
| |
Enqueue a main view controller change.
- Parameters
-
p_NewView | New main view controller |
◆ CP_SDK_IL2CPP_OVERRIDE_METHOD_EX() [1/2]
CP_SDK_BS::UI::HMUIViewFlowCoordinator::CP_SDK_IL2CPP_OVERRIDE_METHOD_EX |
( |
HMUI |
, |
|
|
FlowCoordinator |
, |
|
|
void |
, |
|
|
BackButtonWasPressed |
, |
|
|
HMUI::ViewController * |
p_TopViewController |
|
) |
| |
When the back button is pressed.
- Parameters
-
p_TopViewController | Controller instance |
◆ CP_SDK_IL2CPP_OVERRIDE_METHOD_EX() [2/2]
CP_SDK_BS::UI::HMUIViewFlowCoordinator::CP_SDK_IL2CPP_OVERRIDE_METHOD_EX |
( |
HMUI |
, |
|
|
FlowCoordinator |
, |
|
|
void |
, |
|
|
DidActivate |
, |
|
|
bool |
p_FirstActivation, |
|
|
bool |
p_AddedToHierarchy, |
|
|
bool |
p_ScreenSystemEnabling |
|
) |
| |
On activation.
- Parameters
-
p_FirstActivation | Is the first activation? |
p_AddedToHierarchy | Activation type |
p_ScreenSystemEnabling | Is the screen system enabling? |
◆ CreateViewController()
template<class t_ViewController >
requires (std::is_assignable_v<HMUI::ViewController*&, t_ViewController>)
t_ViewController CP_SDK_BS::UI::HMUIViewFlowCoordinator::CreateViewController |
( |
| ) |
|
|
inlineprotected |
◆ DestroyViewController()
template<class t_ViewController >
requires (std::is_assignable_v<HMUI::ViewController*&, t_ViewController*>)
static void CP_SDK_BS::UI::HMUIViewFlowCoordinator::DestroyViewController |
( |
_v::MonoPtr< t_ViewController > * |
p_ViewController | ) |
|
|
inlinestaticprotected |
Destroy view controller.
- Template Parameters
-
t_ViewController | View type |
- Parameters
-
p_ViewController | View to destroy |
Definition at line 144 of file HMUIViewFlowCoordinator.hpp.
◆ Dismiss()
void CP_SDK_BS::UI::HMUIViewFlowCoordinator::Dismiss |
( |
| ) |
|
◆ HideLeftScreen()
void CP_SDK_BS::UI::HMUIViewFlowCoordinator::HideLeftScreen |
( |
| ) |
|
◆ HideRightScreen()
void CP_SDK_BS::UI::HMUIViewFlowCoordinator::HideRightScreen |
( |
| ) |
|
◆ Present()
void CP_SDK_BS::UI::HMUIViewFlowCoordinator::Present |
( |
bool |
p_IgnoreBackuping = false | ) |
|
◆ Dismiss_Override
_v::Action CP_SDK_BS::UI::HMUIViewFlowCoordinator::Dismiss_Override |
|
protected |
◆ GetInitialViewsController
_v::Func<t_Views> CP_SDK_BS::UI::HMUIViewFlowCoordinator::GetInitialViewsController |
|
protected |
◆ OnBackButtonPressed
_v::Func<bool, HMUI::ViewController*> CP_SDK_BS::UI::HMUIViewFlowCoordinator::OnBackButtonPressed |
|
protected |
◆ Present_Override
_v::Action<bool> CP_SDK_BS::UI::HMUIViewFlowCoordinator::Present_Override |
|
protected |
◆ Title
_v::Func<std::u16string_view> CP_SDK_BS::UI::HMUIViewFlowCoordinator::Title |
|
protected |
The documentation for this class was generated from the following file: