24 void SetMenuScene(
const std::string& sceneName);
25 const std::string& GetMenuScene()
const;
27 bool Open(
const std::string& targetSceneName, int32_t worldIndex = 0);
31 bool IsActive()
const;
33 const std::string& GetTargetScene()
const;
35 void Update(
float deltaTime, int32_t worldIndex);
37 bool ShouldInterceptLoadScene()
const;
41 static Datum OnLoadingFinishedSignal(
Node* listener,
const std::vector<Datum>& args);
43 void NotifyFinished();
44 std::string ResolveLoadingSceneName()
const;
45 void TeardownMenuRoot();
47 std::string mMenuSceneOverride;
48 std::string mActiveLoadingScene;
49 std::string mTargetScene;
51 int32_t mWorldIndex = 0;
53 float mElapsed = 0.0f;
54 bool mFinishedSignalReceived =
false;
55 bool mMinDisplayElapsedEmitted =
false;
56 bool mCloseRequested =
false;
57 bool mInternalLoad =
false;