◆ CloseResult
◆ SGUIPage()
Initializes the data that will be used to create the CGUI page one or multiple times (hotloading).
◆ GetPromise()
| JS::Value CGUIManager::SGUIPage::GetPromise |
( |
| ) |
|
A reference to the promise is returned.
The promise will settle when the page is closed.
◆ LoadPage()
◆ MaybeClose()
If the page should be closed this function closes the page and returns the result of the init function.
If this page wasn't closed an empty optional is returned.
◆ Refocus()
| void CGUIManager::SGUIPage::Refocus |
( |
const Close & |
result | ) |
|
This function should be called when a child page got closed.
The result of the closed page should be the argument of this function. This function resolves the receivingPromise.
◆ 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 |
◆ receivingPromise
| std::shared_ptr<JS::PersistentRootedObject> CGUIManager::SGUIPage::receivingPromise |
The parent page waits on this promise.
It also gets the completion value through this promise.
◆ sendingPromise
| std::shared_ptr<JS::PersistentRootedObject> CGUIManager::SGUIPage::sendingPromise |
When this promise is settled this page wants to be closed.
It settles with the page completion value.
The documentation for this struct was generated from the following files:
- /home/jenkins/jenkins/workspace/technical-docs/source/gui/GUIManager.h
- /home/jenkins/jenkins/workspace/technical-docs/source/gui/GUIManager.cpp