LeviLamina
Loading...
Searching...
No Matches
SceneStack Class Reference
Inheritance diagram for SceneStack:

Classes

class  SceneStackEvent
class  PushScreenEvent
class  PopScreenEvent
class  PopRangeOfTypeScreenEvent
class  FlushScreenEvent
class  ReloadScreenEvent
class  RouteActionEvent

Public Types

enum class  FlushMode : int {
  Queued = 0 , Immediate = 1 , QueuedIncludingNonFlushable = 2 , QueuedIgnoringTransitions = 3 ,
  ImmediateIgnoringTransitions = 4 , Teardown = 5
}
enum class  FlushMode : int {
  Queued = 0 , Immediate = 1 , QueuedIncludingNonFlushable = 2 , QueuedIgnoringTransitions = 3 ,
  ImmediateIgnoringTransitions = 4 , Teardown = 5
}
using SceneChangeCallback = ::std::function<void(::AbstractScene&)>
using PrePushSceneCallback = ::std::function<void(::AbstractScene&)>
using PushSceneCallback
using PrePopSceneCallback = ::std::function<void(::AbstractScene*)>
using PopSceneCallback
using PopRangeSceneCallback = ::std::function<void(::std::vector<::std::shared_ptr<::AbstractScene>> const&)>
using PostFlushCallback = ::std::function<void()>
using RouteActionCallback = ::std::function<void(::OreUI::RouteAction const&)>
using VoidSceneVisitor = ::brstd::function_ref<void(::AbstractScene&)>
using BoolSceneVisitor = ::brstd::function_ref<bool(::AbstractScene&)>
using BoolConstSceneVisitor = ::brstd::function_ref<bool(::AbstractScene const&)>

Public Member Functions

SceneStack & operator= (SceneStack const &)
 SceneStack (SceneStack const &)
virtual void reload ()
virtual void setOptions (::std::weak_ptr<::OptionRegistry > options)
virtual void registerSceneChangeCallback (void *token, ::std::function< void(::AbstractScene &)> sceneChangeCallback)
virtual void unregisterSceneChangeCallback (void *token)
virtual void registerPrePushSceneCallback (void *token, ::std::function< void(::AbstractScene &)> prePushSceneCallback)
virtual void unregisterPrePushSceneCallback (void *token)
virtual void registerPushSceneCallback (void *token, ::std::function< void(::std::shared_ptr<::AbstractScene >, ::std::optional<::OreUI::RouteAction >)> pushSceneCallback)
virtual void unregisterPushSceneCallback (void *token)
virtual void registerPrePopSceneCallback (void *token, ::std::function< void(::AbstractScene *)> prePopSceneCallback)
virtual void unregisterPrePopSceneCallback (void *token)
virtual void registerPopSceneCallback (void *token, ::std::function< void(::std::shared_ptr<::AbstractScene >, bool, ::std::optional<::OreUI::RouteAction >)> popSceneCallback)
virtual void unregisterPopSceneCallback (void *token)
virtual void registerPopRangeSceneCallback (void *token, ::std::function< void(::std::vector<::std::shared_ptr<::AbstractScene > > const &)> popRangeSceneCallback)
virtual void unregisterPopRangeSceneCallback (void *token)
virtual void registerRouteActionCallback (void *token, ::std::function< void(::OreUI::RouteAction const &)> routeActionCallback)
virtual void unregisterRouteActionCallback (void *token)
virtual void forEachVisibleScreen (::brstd::function_ref< void(::AbstractScene &)> callback, bool tickedLastFrame, bool splitscreenRenderBypassThisFrame)
virtual void forEachScreen (::brstd::function_ref< bool(::AbstractScene &)> callback, bool topDown)
virtual void forEachScreenConst (::brstd::function_ref< bool(::AbstractScene const &)> callback, bool topDown) const
virtual void forEachAlwaysAcceptInputScreen (::brstd::function_ref< void(::AbstractScene &)> callback, ::AbstractScene const *ignoreScreen)
virtual void forEachAlwaysAcceptInputScreenWithTop (::brstd::function_ref< void(::AbstractScene &)> callback)
virtual void pushScreenWithRouteAction (::std::shared_ptr<::AbstractScene > newScreen, ::OreUI::RouteAction const &routeAction)
virtual void popScreenWithRouteAction (::OreUI::RouteAction const &routeAction)
virtual void scheduleRouteAction (::OreUI::RouteAction const &routeAction)
virtual void pushScreen (::std::shared_ptr<::AbstractScene > newScreen, bool flush)
virtual void schedulePopScreen (int totalPopNumber)
virtual void schedulePopScreenWithExpectedNames (::std::vector<::std::string > const &expectedScreenNames)
virtual void flushStack (::ISceneStack::FlushMode mode, ::std::function< void()> postFlushCallback)
virtual void deferUpdatesUntilNextTick ()
virtual ::std::optional< uint64 > getFirstSceneIndexOfSceneType (::ui::SceneType sceneType) const
virtual bool popScreensBackTo (::ui::SceneType const sceneType)
virtual bool popScreensBackToFirstInstanceOf (::ui::SceneType const sceneType)
virtual bool popTopScreensOfType (::ui::SceneType const sceneType)
virtual bool update ()
virtual void resetScreenChangeDirtyFlag ()
virtual bool hasChangedThisFrame () const
virtual bool isEmpty () const
virtual uint64 getSize () const
virtual void setScreenTickingFlag (bool screenIsTicking)
virtual bool getScreenTickingFlag () const
virtual::ui::SceneType getNonTerminatingSceneType () const
virtual ::std::vector<::std::string > getScreenNames () const
virtual ::std::vector<::std::string > getScreenTelemetryNames () const
virtual::std::string getScreenName () const
virtual::std::string getScreenTelemetry () const
virtual::std::string const & getLastPoppedScreenName () const
virtual void handleLicenseChanged ()
virtual void onGameEventNotification (::ui::GameEventNotification notification)
virtual::AbstractScene * getTopScene ()
virtual::AbstractScene const * getTopScene () const
virtual ::std::shared_ptr<::AbstractScene > getTopSceneShared () const
virtual::AbstractScene * getActiveScene ()
virtual::AbstractScene const * getActiveScene () const
virtual ::std::shared_ptr<::AbstractScene > getSharedNonTerminatingActiveScene ()
virtual ::std::shared_ptr<::AbstractScene const > const getSharedNonTerminatingActiveScene () const
virtual ::gsl::span<::ISceneStack::SceneElement const > getScreenStackView () const
virtual ::std::vector<::ISceneStack::PendingSceneStackChange > getPendingSceneStackChanges () const
virtual int getScheduledPopCount () const
virtual bool isScreenReplaceable () const
virtual void handleTextChar (::std::string const &inputUtf8)
virtual void setBufferTextCharEvents (bool pushTextCharEvents)
virtual bool isBufferingTextCharEvents () const
virtual bool isOnSceneStack (::ui::SceneType sceneType) const
virtual bool isOnSceneStack (::std::string const &screenName) const
virtual::SceneStackProxy * getProxy ()
virtual bool hasScheduledScreens () const
virtual bool hasScheduledEvents () const
virtual void setScreenThreshold (::ScreenThreshold const &screenThreshold)
virtual::Bedrock::PubSub::Subscription registerSceneStackDestroyedListener (::std::function< void()> callback)
MCAPI SceneStack (::CachedScenes &cachedScenes, ::Bedrock::NotNullNonOwnerPtr<::UIEventCoordinator > const &uiEventCoordinator, ::std::function< bool()> const &getSuspended, ::std::function<::std::unique_ptr<::TaskGroup >(::std::string)> const &taskGroupProvider)
MCAPI bool _animationsEnabled () const
MCAPI bool _popScreens (int &popCount, bool ignoreTransitions, ::std::optional<::OreUI::RouteAction > routeAction, ::std::vector<::std::string > const &expectedScreenNames)
MCAPI void _schedulePopScreen (int totalPopNumber, ::std::optional<::OreUI::RouteAction > routeAction, ::std::vector<::std::string > const &expectedScreenNames)
MCAPI void _schedulePushScreen (::std::shared_ptr<::AbstractScene > newScreen, bool flush, ::std::optional<::OreUI::RouteAction > routeAction)
MCAPI void * $ctor (::CachedScenes &cachedScenes, ::Bedrock::NotNullNonOwnerPtr<::UIEventCoordinator > const &uiEventCoordinator, ::std::function< bool()> const &getSuspended, ::std::function<::std::unique_ptr<::TaskGroup >(::std::string)> const &taskGroupProvider)
MCAPI void $dtor ()
MCAPI void $reload ()
MCAPI void $setOptions (::std::weak_ptr<::OptionRegistry > options)
MCAPI void $registerSceneChangeCallback (void *token, ::std::function< void(::AbstractScene &)> sceneChangeCallback)
MCAPI void $unregisterSceneChangeCallback (void *token)
MCAPI void $registerPrePushSceneCallback (void *token, ::std::function< void(::AbstractScene &)> prePushSceneCallback)
MCAPI void $unregisterPrePushSceneCallback (void *token)
MCAPI void $registerPushSceneCallback (void *token, ::std::function< void(::std::shared_ptr<::AbstractScene >, ::std::optional<::OreUI::RouteAction >)> pushSceneCallback)
MCAPI void $unregisterPushSceneCallback (void *token)
MCAPI void $registerPrePopSceneCallback (void *token, ::std::function< void(::AbstractScene *)> prePopSceneCallback)
MCAPI void $unregisterPrePopSceneCallback (void *token)
MCAPI void $registerPopSceneCallback (void *token, ::std::function< void(::std::shared_ptr<::AbstractScene >, bool, ::std::optional<::OreUI::RouteAction >)> popSceneCallback)
MCAPI void $unregisterPopSceneCallback (void *token)
MCAPI void $registerPopRangeSceneCallback (void *token, ::std::function< void(::std::vector<::std::shared_ptr<::AbstractScene > > const &)> popRangeSceneCallback)
MCAPI void $unregisterPopRangeSceneCallback (void *token)
MCAPI void $registerRouteActionCallback (void *token, ::std::function< void(::OreUI::RouteAction const &)> routeActionCallback)
MCAPI void $unregisterRouteActionCallback (void *token)
MCAPI void $forEachVisibleScreen (::brstd::function_ref< void(::AbstractScene &)> callback, bool tickedLastFrame, bool splitscreenRenderBypassThisFrame)
MCAPI void $forEachScreen (::brstd::function_ref< bool(::AbstractScene &)> callback, bool topDown)
MCAPI void $forEachScreenConst (::brstd::function_ref< bool(::AbstractScene const &)> callback, bool topDown) const
MCAPI void $forEachAlwaysAcceptInputScreen (::brstd::function_ref< void(::AbstractScene &)> callback, ::AbstractScene const *ignoreScreen)
MCAPI void $forEachAlwaysAcceptInputScreenWithTop (::brstd::function_ref< void(::AbstractScene &)> callback)
MCAPI void $pushScreenWithRouteAction (::std::shared_ptr<::AbstractScene > newScreen, ::OreUI::RouteAction const &routeAction)
MCAPI void $popScreenWithRouteAction (::OreUI::RouteAction const &routeAction)
MCAPI void $scheduleRouteAction (::OreUI::RouteAction const &routeAction)
MCAPI void $pushScreen (::std::shared_ptr<::AbstractScene > newScreen, bool flush)
MCAPI void $schedulePopScreen (int totalPopNumber)
MCAPI void $schedulePopScreenWithExpectedNames (::std::vector<::std::string > const &expectedScreenNames)
MCAPI void $flushStack (::ISceneStack::FlushMode mode, ::std::function< void()> postFlushCallback)
MCAPI void $deferUpdatesUntilNextTick ()
MCAPI ::std::optional< uint64 > $getFirstSceneIndexOfSceneType (::ui::SceneType sceneType) const
MCAPI bool $popScreensBackTo (::ui::SceneType const sceneType)
MCAPI bool $popScreensBackToFirstInstanceOf (::ui::SceneType const sceneType)
MCAPI bool $popTopScreensOfType (::ui::SceneType const sceneType)
MCAPI bool $update ()
MCAPI void $resetScreenChangeDirtyFlag ()
MCFOLD bool $hasChangedThisFrame () const
MCAPI bool $isEmpty () const
MCAPI uint64 $getSize () const
MCAPI void $setScreenTickingFlag (bool screenIsTicking)
MCAPI bool $getScreenTickingFlag () const
MCAPI::ui::SceneType $getNonTerminatingSceneType () const
MCAPI ::std::vector<::std::string > $getScreenNames () const
MCAPI ::std::vector<::std::string > $getScreenTelemetryNames () const
MCAPI::std::string $getScreenName () const
MCAPI::std::string $getScreenTelemetry () const
MCAPI::std::string const & $getLastPoppedScreenName () const
MCAPI void $handleLicenseChanged ()
MCAPI void $onGameEventNotification (::ui::GameEventNotification notification)
MCAPI::AbstractScene * $getTopScene ()
MCAPI::AbstractScene const * $getTopScene () const
MCAPI ::std::shared_ptr<::AbstractScene > $getTopSceneShared () const
MCAPI::AbstractScene * $getActiveScene ()
MCAPI::AbstractScene const * $getActiveScene () const
MCAPI ::std::shared_ptr<::AbstractScene > $getSharedNonTerminatingActiveScene ()
MCAPI ::std::shared_ptr<::AbstractScene const > const $getSharedNonTerminatingActiveScene () const
MCAPI ::gsl::span<::ISceneStack::SceneElement const > $getScreenStackView () const
MCAPI ::std::vector<::ISceneStack::PendingSceneStackChange > $getPendingSceneStackChanges () const
MCFOLD int $getScheduledPopCount () const
MCAPI bool $isScreenReplaceable () const
MCAPI void $handleTextChar (::std::string const &inputUtf8)
MCAPI void $setBufferTextCharEvents (bool pushTextCharEvents)
MCAPI bool $isBufferingTextCharEvents () const
MCAPI bool $isOnSceneStack (::ui::SceneType sceneType) const
MCAPI bool $isOnSceneStack (::std::string const &screenName) const
MCAPI::SceneStackProxy * $getProxy ()
MCAPI bool $hasScheduledScreens () const
MCAPI bool $hasScheduledEvents () const
MCAPI void $setScreenThreshold (::ScreenThreshold const &screenThreshold)
MCAPI::Bedrock::PubSub::Subscription $registerSceneStackDestroyedListener (::std::function< void()> callback)

Static Public Member Functions

static MCAPI void _forEachVisibleScreen (::brstd::function_ref< void(::AbstractScene &)> callback, ::std::function<::AbstractScene *(int)> getScreen, bool, bool splitscreenRenderBypassThisFrame, uint64 topStackIndex, uint64 startIndex, uint64 endIndex, bool renderDrawLastScreens)
static MCAPI void forEachVisibleScreen (::brstd::function_ref< void(::AbstractScene &)> callback, ::std::function<::AbstractScene *(int)> getScreen, bool tickedLastFrame, bool splitscreenRenderBypassThisFrame, int size)
static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::ISceneStack::SceneElement > > mScreenStack
::ll::TypedStorage< 8, 8, ::CachedScenes & > mCachedScreens
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::SceneStack::SceneStackEvent > > > mStackEvents
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::SceneStack::SceneStackEvent > > > mQueuedStackEvents
::ll::TypedStorage< 8, 24, ::std::vector<::ScreenThreshold > > mScreenThresholds
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mDestroyScreenTaskGroup
::ll::TypedStorage< 4, 4, int > mActiveStackSize
::ll::TypedStorage< 4, 4, int > mScheduledScreenPushCount
::ll::TypedStorage< 4, 4, int > mScheduledScreenPopCount
::ll::TypedStorage< 1, 1, bool > mScreenNeedsEntrance
::ll::TypedStorage< 8, 32, ::std::string > mLastPoppedScreenName
::ll::TypedStorage< 1, 1, bool > mChangedThisFrame
::ll::TypedStorage< 1, 1, bool > mScreenIsTicking
::ll::TypedStorage< 1, 1, bool > mReloadScenesOnNextPop
::ll::TypedStorage< 1, 1, bool > mDeferUpdatesUntilNextTick
::ll::TypedStorage< 1, 1, bool > mBufferTextCharEvents
::ll::TypedStorage< 8, 24, ::std::vector<::TextCharEventData > > mBufferedTextCharEventData
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::OptionRegistry > > mOptions
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mAsyncLoadOptionSubscription
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mScreenAnimationsSubscription
::ll::TypedStorage< 8, 128, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::MultiThreaded, 0 > > mSceneStackDestroyedPublisher
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::function< void(::AbstractScene &)> > > > mSceneChangeCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::function< void(::AbstractScene &)> > > > mPrePushSceneCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::function< void(::std::shared_ptr<::AbstractScene >, ::std::optional<::OreUI::RouteAction >)> > > > mPushSceneCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::function< void(::AbstractScene *)> > > > mPrePopSceneCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::function< void(::std::shared_ptr<::AbstractScene >, bool, ::std::optional<::OreUI::RouteAction >)> > > > mPopSceneCallbacks
::ll::TypedStorage< 8, 24, ::std::vector< ::std::pair< void *, ::std::function< void(::std::vector<::std::shared_ptr<::AbstractScene > > const &)> > > > mPopRangeSceneCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::std::pair< void *, ::std::function< void(::OreUI::RouteAction const &)> > > > mRouteActionCallbacks
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::SceneStackProxy > > mProxy
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::UIEventCoordinator > > mUIEventCoordinator
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mGetSuspended
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Member Typedef Documentation

◆ PushSceneCallback

using ISceneStack::PushSceneCallback
inherited
Initial value:
::std::function<void(::std::shared_ptr<::AbstractScene>, ::std::optional<::OreUI::RouteAction>)>

◆ PopSceneCallback

using ISceneStack::PopSceneCallback
inherited
Initial value:
::std::function<void(::std::shared_ptr<::AbstractScene>, bool, ::std::optional<::OreUI::RouteAction>)>

Member Function Documentation

◆ reload()

virtual void SceneStack::reload ( )
virtual

Implements ISceneStack.

◆ setOptions()

virtual void SceneStack::setOptions ( ::std::weak_ptr<::OptionRegistry > options)
virtual

Implements ISceneStack.

◆ registerSceneChangeCallback()

virtual void SceneStack::registerSceneChangeCallback ( void * token,
::std::function< void(::AbstractScene &)> sceneChangeCallback )
virtual

Implements ISceneStack.

◆ unregisterSceneChangeCallback()

virtual void SceneStack::unregisterSceneChangeCallback ( void * token)
virtual

Implements ISceneStack.

◆ registerPrePushSceneCallback()

virtual void SceneStack::registerPrePushSceneCallback ( void * token,
::std::function< void(::AbstractScene &)> prePushSceneCallback )
virtual

Implements ISceneStack.

◆ unregisterPrePushSceneCallback()

virtual void SceneStack::unregisterPrePushSceneCallback ( void * token)
virtual

Implements ISceneStack.

◆ registerPushSceneCallback()

virtual void SceneStack::registerPushSceneCallback ( void * token,
::std::function< void(::std::shared_ptr<::AbstractScene >, ::std::optional<::OreUI::RouteAction >)> pushSceneCallback )
virtual

Implements ISceneStack.

◆ unregisterPushSceneCallback()

virtual void SceneStack::unregisterPushSceneCallback ( void * token)
virtual

Implements ISceneStack.

◆ registerPrePopSceneCallback()

virtual void SceneStack::registerPrePopSceneCallback ( void * token,
::std::function< void(::AbstractScene *)> prePopSceneCallback )
virtual

Implements ISceneStack.

◆ unregisterPrePopSceneCallback()

virtual void SceneStack::unregisterPrePopSceneCallback ( void * token)
virtual

Implements ISceneStack.

◆ registerPopSceneCallback()

virtual void SceneStack::registerPopSceneCallback ( void * token,
::std::function< void(::std::shared_ptr<::AbstractScene >, bool, ::std::optional<::OreUI::RouteAction >)> popSceneCallback )
virtual

Implements ISceneStack.

◆ unregisterPopSceneCallback()

virtual void SceneStack::unregisterPopSceneCallback ( void * token)
virtual

Implements ISceneStack.

◆ registerPopRangeSceneCallback()

virtual void SceneStack::registerPopRangeSceneCallback ( void * token,
::std::function< void(::std::vector<::std::shared_ptr<::AbstractScene > > const &)> popRangeSceneCallback )
virtual

Implements ISceneStack.

◆ unregisterPopRangeSceneCallback()

virtual void SceneStack::unregisterPopRangeSceneCallback ( void * token)
virtual

Implements ISceneStack.

◆ registerRouteActionCallback()

virtual void SceneStack::registerRouteActionCallback ( void * token,
::std::function< void(::OreUI::RouteAction const &)> routeActionCallback )
virtual

Implements ISceneStack.

◆ unregisterRouteActionCallback()

virtual void SceneStack::unregisterRouteActionCallback ( void * token)
virtual

Implements ISceneStack.

◆ forEachVisibleScreen()

virtual void SceneStack::forEachVisibleScreen ( ::brstd::function_ref< void(::AbstractScene &)> callback,
bool tickedLastFrame,
bool splitscreenRenderBypassThisFrame )
virtual

Implements ISceneStack.

◆ forEachScreen()

virtual void SceneStack::forEachScreen ( ::brstd::function_ref< bool(::AbstractScene &)> callback,
bool topDown )
virtual

Implements ISceneStack.

◆ forEachScreenConst()

virtual void SceneStack::forEachScreenConst ( ::brstd::function_ref< bool(::AbstractScene const &)> callback,
bool topDown ) const
virtual

Implements ISceneStack.

◆ forEachAlwaysAcceptInputScreen()

virtual void SceneStack::forEachAlwaysAcceptInputScreen ( ::brstd::function_ref< void(::AbstractScene &)> callback,
::AbstractScene const * ignoreScreen )
virtual

Implements ISceneStack.

◆ forEachAlwaysAcceptInputScreenWithTop()

virtual void SceneStack::forEachAlwaysAcceptInputScreenWithTop ( ::brstd::function_ref< void(::AbstractScene &)> callback)
virtual

Implements ISceneStack.

◆ pushScreenWithRouteAction()

virtual void SceneStack::pushScreenWithRouteAction ( ::std::shared_ptr<::AbstractScene > newScreen,
::OreUI::RouteAction const & routeAction )
virtual

Implements ISceneStack.

◆ popScreenWithRouteAction()

virtual void SceneStack::popScreenWithRouteAction ( ::OreUI::RouteAction const & routeAction)
virtual

Implements ISceneStack.

◆ scheduleRouteAction()

virtual void SceneStack::scheduleRouteAction ( ::OreUI::RouteAction const & routeAction)
virtual

Implements ISceneStack.

◆ pushScreen()

virtual void SceneStack::pushScreen ( ::std::shared_ptr<::AbstractScene > newScreen,
bool flush )
virtual

Implements ISceneStack.

◆ schedulePopScreen()

virtual void SceneStack::schedulePopScreen ( int totalPopNumber)
virtual

Implements ISceneStack.

◆ schedulePopScreenWithExpectedNames()

virtual void SceneStack::schedulePopScreenWithExpectedNames ( ::std::vector<::std::string > const & expectedScreenNames)
virtual

Implements ISceneStack.

◆ flushStack()

virtual void SceneStack::flushStack ( ::ISceneStack::FlushMode mode,
::std::function< void()> postFlushCallback )
virtual

Implements ISceneStack.

◆ deferUpdatesUntilNextTick()

virtual void SceneStack::deferUpdatesUntilNextTick ( )
virtual

Implements ISceneStack.

◆ getFirstSceneIndexOfSceneType()

virtual ::std::optional< uint64 > SceneStack::getFirstSceneIndexOfSceneType ( ::ui::SceneType sceneType) const
virtual

Implements ISceneStack.

◆ popScreensBackTo()

virtual bool SceneStack::popScreensBackTo ( ::ui::SceneType const sceneType)
virtual

Implements ISceneStack.

◆ popScreensBackToFirstInstanceOf()

virtual bool SceneStack::popScreensBackToFirstInstanceOf ( ::ui::SceneType const sceneType)
virtual

Implements ISceneStack.

◆ popTopScreensOfType()

virtual bool SceneStack::popTopScreensOfType ( ::ui::SceneType const sceneType)
virtual

Implements ISceneStack.

◆ update()

virtual bool SceneStack::update ( )
virtual

Implements ISceneStack.

◆ resetScreenChangeDirtyFlag()

virtual void SceneStack::resetScreenChangeDirtyFlag ( )
virtual

Implements ISceneStack.

◆ hasChangedThisFrame()

virtual bool SceneStack::hasChangedThisFrame ( ) const
virtual

Implements ISceneStack.

◆ isEmpty()

virtual bool SceneStack::isEmpty ( ) const
virtual

Implements ISceneStack.

◆ getSize()

virtual uint64 SceneStack::getSize ( ) const
virtual

Implements ISceneStack.

◆ setScreenTickingFlag()

virtual void SceneStack::setScreenTickingFlag ( bool screenIsTicking)
virtual

Implements ISceneStack.

◆ getScreenTickingFlag()

virtual bool SceneStack::getScreenTickingFlag ( ) const
virtual

Implements ISceneStack.

◆ getNonTerminatingSceneType()

virtual::ui::SceneType SceneStack::getNonTerminatingSceneType ( ) const
virtual

Implements ISceneStack.

◆ getScreenNames()

virtual ::std::vector<::std::string > SceneStack::getScreenNames ( ) const
virtual

Implements ISceneStack.

◆ getScreenTelemetryNames()

virtual ::std::vector<::std::string > SceneStack::getScreenTelemetryNames ( ) const
virtual

Implements ISceneStack.

◆ getScreenName()

virtual::std::string SceneStack::getScreenName ( ) const
virtual

Implements ISceneStack.

◆ getScreenTelemetry()

virtual::std::string SceneStack::getScreenTelemetry ( ) const
virtual

Implements ISceneStack.

◆ getLastPoppedScreenName()

virtual::std::string const & SceneStack::getLastPoppedScreenName ( ) const
virtual

Implements ISceneStack.

◆ handleLicenseChanged()

virtual void SceneStack::handleLicenseChanged ( )
virtual

Implements ISceneStack.

◆ onGameEventNotification()

virtual void SceneStack::onGameEventNotification ( ::ui::GameEventNotification notification)
virtual

Implements ISceneStack.

◆ getTopScene() [1/2]

virtual::AbstractScene * SceneStack::getTopScene ( )
virtual

Implements ISceneStack.

◆ getTopScene() [2/2]

virtual::AbstractScene const * SceneStack::getTopScene ( ) const
virtual

Implements ISceneStack.

◆ getTopSceneShared()

virtual ::std::shared_ptr<::AbstractScene > SceneStack::getTopSceneShared ( ) const
virtual

Implements ISceneStack.

◆ getActiveScene() [1/2]

virtual::AbstractScene * SceneStack::getActiveScene ( )
virtual

Implements ISceneStack.

◆ getActiveScene() [2/2]

virtual::AbstractScene const * SceneStack::getActiveScene ( ) const
virtual

Implements ISceneStack.

◆ getSharedNonTerminatingActiveScene() [1/2]

virtual ::std::shared_ptr<::AbstractScene > SceneStack::getSharedNonTerminatingActiveScene ( )
virtual

Implements ISceneStack.

◆ getSharedNonTerminatingActiveScene() [2/2]

virtual ::std::shared_ptr<::AbstractScene const > const SceneStack::getSharedNonTerminatingActiveScene ( ) const
virtual

Implements ISceneStack.

◆ getScreenStackView()

virtual ::gsl::span<::ISceneStack::SceneElement const > SceneStack::getScreenStackView ( ) const
virtual

Implements ISceneStack.

◆ getPendingSceneStackChanges()

virtual ::std::vector<::ISceneStack::PendingSceneStackChange > SceneStack::getPendingSceneStackChanges ( ) const
virtual

Implements ISceneStack.

◆ getScheduledPopCount()

virtual int SceneStack::getScheduledPopCount ( ) const
virtual

Implements ISceneStack.

◆ isScreenReplaceable()

virtual bool SceneStack::isScreenReplaceable ( ) const
virtual

Implements ISceneStack.

◆ handleTextChar()

virtual void SceneStack::handleTextChar ( ::std::string const & inputUtf8)
virtual

Implements ISceneStack.

◆ setBufferTextCharEvents()

virtual void SceneStack::setBufferTextCharEvents ( bool pushTextCharEvents)
virtual

Implements ISceneStack.

◆ isBufferingTextCharEvents()

virtual bool SceneStack::isBufferingTextCharEvents ( ) const
virtual

Implements ISceneStack.

◆ isOnSceneStack() [1/2]

virtual bool SceneStack::isOnSceneStack ( ::ui::SceneType sceneType) const
virtual

Implements ISceneStack.

◆ isOnSceneStack() [2/2]

virtual bool SceneStack::isOnSceneStack ( ::std::string const & screenName) const
virtual

Implements ISceneStack.

◆ getProxy()

virtual::SceneStackProxy * SceneStack::getProxy ( )
virtual

Implements ISceneStack.

◆ hasScheduledScreens()

virtual bool SceneStack::hasScheduledScreens ( ) const
virtual

Implements ISceneStack.

◆ hasScheduledEvents()

virtual bool SceneStack::hasScheduledEvents ( ) const
virtual

Implements ISceneStack.

◆ setScreenThreshold()

virtual void SceneStack::setScreenThreshold ( ::ScreenThreshold const & screenThreshold)
virtual

Implements ISceneStack.

◆ registerSceneStackDestroyedListener()

virtual::Bedrock::PubSub::Subscription SceneStack::registerSceneStackDestroyedListener ( ::std::function< void()> callback)
virtual

Implements ISceneStack.

◆ $vftable()

MCAPI void ** Bedrock::EnableNonOwnerReferences::$vftable ( )
staticinherited
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: