◆ SGUIPage()
Initializes the data that will be used to create the CGUI page one or multiple times (hotloading).
◆ LoadPage()
void CGUIManager::SGUIPage::LoadPage |
( |
std::shared_ptr< ScriptContext > |
scriptContext | ) |
|
◆ PerformCallbackFunction()
Execute the stored callback function with the given arguments.
◆ SetCallbackFunction()
void CGUIManager::SGUIPage::SetCallbackFunction |
( |
ScriptInterface & |
scriptInterface, |
|
|
JS::HandleValue |
callbackFunc |
|
) |
| |
Sets the callback handler when a new page is opened that will be performed when the page is closed.
◆ callbackFunction
std::shared_ptr<JS::PersistentRootedValue> CGUIManager::SGUIPage::callbackFunction |
Function executed by this parent GUI page when the child GUI page it pushed is popped.
Notice that storing it in the SGUIPage instead of CGUI means that it will survive the hotloading CGUI reset.
◆ gui
std::shared_ptr<CGUI> CGUIManager::SGUIPage::gui |
◆ initData
◆ inputs
std::unordered_set<VfsPath> CGUIManager::SGUIPage::inputs |
◆ m_Name
CStrW CGUIManager::SGUIPage::m_Name |
The documentation for this struct was generated from the following files: