◆ SGUIPage()
Initializes the data that will be used to create the CGUI page one or multiple times (hotloading).
◆ LoadPage()
void CGUIManager::SGUIPage::LoadPage |
( |
ScriptContext & |
scriptContext | ) |
|
◆ ReplacePromise()
JS::Value CGUIManager::SGUIPage::ReplacePromise |
( |
ScriptInterface & |
scriptInterface | ) |
|
A new promise gets set.
A reference to that promise is returned. The promise will settle when the page is closed.
◆ ResolvePromise()
Execute the stored callback function with the given arguments.
◆ callbackFunction
std::shared_ptr<JS::PersistentRootedObject> 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
std::wstring CGUIManager::SGUIPage::m_Name |
The documentation for this struct was generated from the following files:
- /home/docker/jenkins/workspace/technical-docs/source/gui/GUIManager.h
- /home/docker/jenkins/workspace/technical-docs/source/gui/GUIManager.cpp