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

Classes

struct  ButtonEventCallbackKeyHasher

Public Types

enum class  PreviousButtonStateRequirement : int {
  Any = 0 , Down = 1 , Up = 2 , NotDown = 3 ,
  NotUp = 4
}
enum class  SliderChangeType : int { AnyChange = 0 , NotFinalized = 1 , Finalized = 2 }
enum class  PreviousButtonStateRequirement : int {
  Any = 0 , Down = 1 , Up = 2 , NotDown = 3 ,
  NotUp = 4
}
enum class  SliderChangeType : int { AnyChange = 0 , NotFinalized = 1 , Finalized = 2 }
using FocusMoveEventHandlerCallback
using InputModeChangedEventHandlerCallback
using PointerHeldEventHandlerCallback
using ButtonEventHandlerCallback = ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const>
using TextEventHandlerCallback
using ToggleChangeEventHandlerCallback
using TextEditSelectedStateChangeEventHandlerCallback
using SliderChangeEventHandlerCallback = ::brstd::move_only_function<::ui::ViewRequest(int, float) const>
using AnimationEventHandlerCallback = ::brstd::move_only_function<::ui::ViewRequest() const>
using RawInputEventHandlerCallback
using ClippedCollectionEventHandlerCallback
using ClipStateChangeEventHandlerCallback
using CustomRendererEventHandlerCallback = ::brstd::move_only_function<::ui::ViewRequest() const>
using BindPredicate = ::brstd::move_only_function<bool() const>
using BindStringCallback = ::brstd::move_only_function<::std::string() const>
using BindBoolCallback = ::brstd::move_only_function<bool() const>
using BindIntCallback = ::brstd::move_only_function<int() const>
using BindFloatCallback = ::brstd::move_only_function<float() const>
using BindGridSizeCallback = ::brstd::move_only_function<::glm::ivec2() const>
using BindGlobalGridSizeCallback = ::brstd::move_only_function<void(::std::string const&, ::UIPropertyBag&) const>
using BindColorCallback = ::brstd::move_only_function<::mce::Color() const>
using BindColorWithBagCallback = ::brstd::move_only_function<::mce::Color(::UIPropertyBag&) const>
using BindCollectionPredicate = ::brstd::move_only_function<bool(int) const>
using BindStringForCollectionCallback = ::brstd::move_only_function<::std::string(int) const>
using BindBoolForCollectionCallback = ::brstd::move_only_function<bool(int) const>
using BindFloatForCollectionCallback = ::brstd::move_only_function<float(int) const>
using BindIntForCollectionCallback = ::brstd::move_only_function<int(int) const>
using BindColorForCollectionCallback = ::brstd::move_only_function<::mce::Color(int) const>
using BindAnyCollectionPredicate = ::brstd::move_only_function<bool(::std::string const&, int) const>
using BindItemDataForAnyCollectionCallback
using BindStringForAnyCollectionCallback
using BindBoolForAnyCollectionCallback = ::brstd::move_only_function<bool(::std::string const&, int) const>
using BindIntForAnyCollectionCallback = ::brstd::move_only_function<int(::std::string const&, int) const>
using BindFloatForAnyCollectionCallback = ::brstd::move_only_function<float(::std::string const&, int) const>
using BindDoubleForAnyCollectionCallback = ::brstd::move_only_function<double(::std::string const&, int) const>
using BindForAnyCollectionCallback
using BindForCollectionCallback
using BindForGlobalCallback = ::brstd::move_only_function<void(::std::string const&, ::UIPropertyBag&) const>
using ButtonEventCallbackKey = ::std::tuple<uint, ::ButtonState>
using ButtonEventCallbackInfo
using ButtonEventCallbackInfoVector
using ButtonEventCallbackMap
using ButtonInteractedEventCallbackVector
using ButtonInteractedEventCallbackMap
using ToggleChangeEventCallbackVector
using ToggleChangeEventCallbackMap
using TextEditSelectedStateChangeEventCallbackVector
using TextEditSelectedStateChangeEventCallbackMap
using SliderChangeEventHandlerCallbackInfo
using SliderChangeEventCallbackVector
using SliderChangeEventCallbackMap
using TextEventHandlerCallbackInfo
using TextEventHandlerCallbackVector
using TextEventHandlerCallbackMap
using AnimationEventHandlerCallbackVector = ::std::vector<::brstd::move_only_function<::ui::ViewRequest() const>>
using AnimationEventHandlerCallbackMap
using ClippedCollectionEventHandlerCallbackVector
using ClippedCollectionEventHandlerCallbackMap
using ClipStateChangeHandlerCallbackVector
using ClipStateChangeEventHandlerCallbackMap
using CustomRendererEventHandlerCallbackVector
using CustomRendererEventHandlerCallbackMap

Public Member Functions

virtual::ui::DirtyFlag tick ()
virtual void preFrameTick ()
virtual::ui::ViewRequest handleEvent (::ScreenEvent &screenEvent)
virtual ::std::optional<::std::string > getRoute () const
virtual void setScreenState (::std::vector<::std::pair<::std::string_view, ::std::string_view > > const &)
virtual void onOpen ()
virtual void queueTitleNarration ()
virtual void onTerminate ()
virtual void onInit ()
virtual void onDelete ()
virtual bool canExit ()
virtual::ui::ViewRequest tryExit ()
virtual void onCreation ()
virtual void onReload ()
virtual void onLeave ()
virtual void leaveScreen (::std::string const &expectedScreenName)
virtual::ui::DirtyFlag handleGameEventNotification (::ui::GameEventNotification notification)
virtual bool bind (::std::string const &collectionName, uint collectionNameHash, int collectionIndex, ::std::string const &bindingName, uint bindingNameHash, ::std::string const &bindingNameOverride, ::UIPropertyBag &bag)
virtual bool bind (::std::string const &bindingName, uint bindingNameHash, ::std::string const &bindingNameOverride, ::UIPropertyBag &bag)
virtual void handleLicenseChanged ()
virtual void setAssociatedBlockPos (::BlockPos const &pos)
virtual void setAssociatedEntityUniqueID (::ActorUniqueID const unqiueID)
virtual void setSuspendInput (bool suspendInput)
virtual void setSuspendDirectionalInput (bool suspendDirectionalInput)
virtual void setViewCommand (::ScreenViewCommand const &callback)
virtual void addStaticScreenVars (::Json::Value &globalVars)
virtual::std::string getAdditionalScreenInfo () const
virtual::std::string getTelemetryOverride () const
virtual void addEventProperties (::std::unordered_map<::std::string, ::std::string > &eventProperties) const
virtual::ui::SceneType getSceneType () const
virtual int getScreenVersion () const
virtual uint getSceneId () const
virtual::ScreenControllerProxy * getProxy ()
virtual void onEntered ()
virtual void onScreenPushedAbove ()
virtual void onEntering ()
virtual bool _doesScreenHaveExitBehavior () const
virtual bool _isContainerScreen () const
MCAPI ScreenController (bool useTaskGroup)
MCAPI uint _getNameId (::std::string const &name) const
MCAPI::ui::ViewRequest _handleButtonEvent (::ScreenEvent &screenEvent)
MCAPI::ui::ViewRequest _handleEvent (::ScreenEvent &screenEvent)
MCAPI void _registerSubController (::std::shared_ptr<::ScreenController > controller)
MCAPI void bindBool (::StringHash const &bindingName, ::brstd::move_only_function< bool() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindBoolForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function< bool(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindBoolForCollection (::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< bool(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void bindColor (::StringHash const &bindingName, ::brstd::move_only_function<::mce::Color() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindColorForCollection (::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function<::mce::Color(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void bindColorWithPropertyBag (::StringHash const &bindingName, ::brstd::move_only_function<::mce::Color(::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindDoubleForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function< double(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindFloat (::StringHash const &bindingName, ::brstd::move_only_function< float() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindFloatForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function< float(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindFloatForCollection (::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< float(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void bindForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function< void(int, ::std::string const &, ::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function< void(::std::string const &, int, ::std::string const &, ::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindForCollection (::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< void(int, ::std::string const &, ::UIPropertyBag &) const > func)
MCAPI void bindForGlobal (::StringHash const &bindingName, ::brstd::move_only_function< void(::std::string const &, ::UIPropertyBag &) const > func)
MCAPI void bindForGlobalGridSize (::StringHash const &bindingName, ::brstd::move_only_function< void(::std::string const &, ::UIPropertyBag &) const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindGridSize (::StringHash const &bindingName, ::brstd::move_only_function<::glm::ivec2() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindInt (::StringHash const &bindingName, ::brstd::move_only_function< int() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindIntForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function< int(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindIntForCollection (::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function< int(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI void bindItemDataForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function<::ItemRendererData(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindString (::StringHash const &bindingName, ::brstd::move_only_function<::std::string() const > callback, ::brstd::move_only_function< bool() const > condition)
MCAPI void bindStringForAnyCollection (::StringHash const &bindingName, ::brstd::move_only_function<::std::string(::std::string const &, int) const > callback, ::brstd::move_only_function< bool(::std::string const &, int) const > condition)
MCAPI void bindStringForCollection (::StringHash const &collectionName, ::StringHash const &bindingName, ::brstd::move_only_function<::std::string(int) const > callback, ::brstd::move_only_function< bool(int) const > condition)
MCAPI bool hasFinishedAsyncTasks () const
MCAPI void queueAsyncTask (::brstd::move_only_function<::TaskResult()> &&task, ::std::function< void()> &&callback)
MCAPI void registerAnimationEventHandler (uint eventId, ::brstd::move_only_function<::ui::ViewRequest() const > callback)
MCAPI void registerButtonEventHandler (uint buttonId, ::ButtonState currentState, ::ButtonState previousState, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void registerButtonEventHandler (uint buttonId, ::ButtonState currentState, ::ScreenController::PreviousButtonStateRequirement previousStateRequirement, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void registerButtonInteractedHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void registerButtonPressedHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void registerButtonReleasedHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > callback)
MCAPI void registerClipStateChangeEventHandler (uint eventId, ::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag &) const > callback)
MCAPI void registerClippedCollectionEventHandler (::StringHash const &collectionName, ::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag &) const > callback)
MCAPI void registerCustomRendererEventHandler (uint eventId, ::brstd::move_only_function<::ui::ViewRequest() const > callback)
MCAPI void registerFocusMovedEventHandler (::brstd::move_only_function<::ui::ViewRequest(::FocusMoveScreenEventData &) const > callback)
MCAPI void registerInputModechangedEventHandler (::brstd::move_only_function<::ui::ViewRequest(::InputModeChangeScreenEventData &) const > callback)
MCAPI void registerPointerHeldEventHandler (::brstd::move_only_function<::ui::ViewRequest(::PointerHeldScreenEventData &) const > callback)
MCAPI void registerSliderChangedEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > callback)
MCAPI void registerSliderFinishedEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > callback)
MCAPI void registerSliderNotFinishedEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > callback)
MCAPI void registerTextEditChangedEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > callback)
MCAPI void registerTextEditFinishedEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > callback)
MCAPI void registerTextEditSelectedStateChangeEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::TextEditSelectedStateChangeEventData &) const > callback)
MCAPI void registerTextEventHandler (::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > callback)
MCAPI void registerToggleChangeEventHandler (uint buttonId, ::brstd::move_only_function<::ui::ViewRequest(::ToggleChangeEventData &) const > callback)
MCAPI void setControlFactoryCreateCallback (::std::function< void(::std::string const &, ::UIPropertyBag const &)> callback)
MCAPI void setControlFactoryDestroyAllCallback (::std::function< void(::std::string const &)> callback)
MCAPI void setControlFactoryDestroyCallback (::std::function< void(::std::string const &, ::std::string const &)> callback)
MCAPI void * $ctor (bool useTaskGroup)
MCAPI void $dtor ()
MCAPI::ui::DirtyFlag $tick ()
MCFOLD void $preFrameTick ()
MCAPI::ui::ViewRequest $handleEvent (::ScreenEvent &screenEvent)
MCFOLD ::std::optional<::std::string > $getRoute () const
MCFOLD void $setScreenState (::std::vector<::std::pair<::std::string_view, ::std::string_view > > const &)
MCAPI void $onOpen ()
MCAPI void $queueTitleNarration ()
MCFOLD void $onTerminate ()
MCAPI void $onInit ()
MCFOLD void $onDelete ()
MCAPI bool $canExit ()
MCFOLD::ui::ViewRequest $tryExit ()
MCAPI void $onCreation ()
MCFOLD void $onReload ()
MCAPI void $onLeave ()
MCFOLD void $leaveScreen (::std::string const &expectedScreenName)
MCFOLD::ui::DirtyFlag $handleGameEventNotification (::ui::GameEventNotification notification)
MCAPI bool $bind (::std::string const &collectionName, uint collectionNameHash, int collectionIndex, ::std::string const &bindingName, uint bindingNameHash, ::std::string const &bindingNameOverride, ::UIPropertyBag &bag)
MCAPI bool $bind (::std::string const &bindingName, uint bindingNameHash, ::std::string const &bindingNameOverride, ::UIPropertyBag &bag)
MCFOLD void $handleLicenseChanged ()
MCFOLD void $setAssociatedBlockPos (::BlockPos const &pos)
MCFOLD void $setAssociatedEntityUniqueID (::ActorUniqueID const unqiueID)
MCFOLD void $setSuspendInput (bool suspendInput)
MCFOLD void $setSuspendDirectionalInput (bool suspendDirectionalInput)
MCAPI void $setViewCommand (::ScreenViewCommand const &callback)
MCFOLD void $addStaticScreenVars (::Json::Value &globalVars)
MCFOLD::std::string $getAdditionalScreenInfo () const
MCFOLD::std::string $getTelemetryOverride () const
MCFOLD void $addEventProperties (::std::unordered_map<::std::string, ::std::string > &eventProperties) const
MCFOLD::ui::SceneType $getSceneType () const
MCFOLD int $getScreenVersion () const
MCFOLD uint $getSceneId () const
MCFOLD::ScreenControllerProxy * $getProxy ()
MCFOLD void $onEntered ()
MCFOLD void $onScreenPushedAbove ()
MCFOLD void $onEntering ()
MCFOLD bool $_doesScreenHaveExitBehavior () const
MCFOLD bool $_isContainerScreen () const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function< void(::std::string const &, ::UIPropertyBag const &)> > mControlCreateCallback
::ll::TypedStorage< 8, 64, ::std::function< void(::std::string const &, ::std::string const &)> > mControlDestroyCallback
::ll::TypedStorage< 8, 64, ::std::function< void(::std::string const &)> > mControlDestroyAllCallback
::ll::TypedStorage< 8, 64, ::std::function< void(::std::string const &)> > mScreenViewSendManualInputEventCallback
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ScreenControllerProxy > > mProxy
::ll::TypedStorage< 1, 1, bool > mCreateInitialized
::ll::TypedStorage< 1, 1, bool > mInitialized
::ll::TypedStorage< 1, 1, bool > mUsesErrorInfo
::ll::TypedStorage< 8, 1472, ::ScreenViewCommandmScreenViewCommand
::ll::TypedStorage< 1, 1, bool > mIsScrollingLocked
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::std::tuple< uint, ::ButtonState >, ::std::vector<::std::tuple< ::ScreenController::PreviousButtonStateRequirement, ::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > > >, ::ScreenController::ButtonEventCallbackKeyHasher, ::std::equal_to<::std::tuple< uint, ::ButtonState > > > > mButtonEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag *) const > > > > mButtonInteractedEventCallbackMap
::ll::TypedStorage< 8, 64, ::brstd::move_only_function<::ui::ViewRequest(::RawInputScreenEventData &) const > > mRawInputEventHandlerCallback
::ll::TypedStorage< 8, 24, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(::FocusMoveScreenEventData &) const > > > mFocusMoveEventCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(::InputModeChangeScreenEventData &) const > > > mInputModeChangedEventCallbacks
::ll::TypedStorage< 8, 24, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(::PointerHeldScreenEventData &) const > > > mPointerHeldEventCallbacks
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::std::tuple< bool, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData &, int) const > > > > > mTextEditEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(::ToggleChangeEventData &) const > > > > mToggleChangeEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector< ::brstd::move_only_function<::ui::ViewRequest(::TextEditSelectedStateChangeEventData &) const > > > > mTextEditSelectedStateChangeEventCallbackMap
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::ScreenController > > > mSubControllers
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::std::tuple< ::ScreenController::SliderChangeType, ::brstd::move_only_function<::ui::ViewRequest(int, float) const > > > > > mSliderChangeEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest() const > > > > mAnimationEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag &) const > > > > mClippedCollectionEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag &) const > > > > mClipStateChangeEventCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest() const > > > > mCustomRendererEventHandlerCallbackMap
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::brstd::move_only_function< void(::std::string const &, ::UIPropertyBag &)> > > mBindCallbacks
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::brstd::move_only_function< void(int, ::std::string const &, ::UIPropertyBag &)> > > mCollectionBindCallbacks
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::brstd::move_only_function< void(::std::string const &, int, ::std::string const &, ::UIPropertyBag &)> > > mAnyCollectionBindCallbacks
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::TaskGroup > > mTaskGroup

Member Typedef Documentation

◆ FocusMoveEventHandlerCallback

using ScreenController::FocusMoveEventHandlerCallback
Initial value:
Definition move_only_function.h:9
Definition FocusMoveScreenEventData.h:5

◆ InputModeChangedEventHandlerCallback

using ScreenController::InputModeChangedEventHandlerCallback
Initial value:
Definition InputModeChangeScreenEventData.h:5

◆ PointerHeldEventHandlerCallback

using ScreenController::PointerHeldEventHandlerCallback
Initial value:
Definition PointerHeldScreenEventData.h:5

◆ TextEventHandlerCallback

using ScreenController::TextEventHandlerCallback
Initial value:
Definition TextEditScreenEventData.h:5

◆ ToggleChangeEventHandlerCallback

using ScreenController::ToggleChangeEventHandlerCallback
Initial value:
Definition ToggleChangeEventData.h:5

◆ TextEditSelectedStateChangeEventHandlerCallback

using ScreenController::TextEditSelectedStateChangeEventHandlerCallback
Initial value:
Definition TextEditSelectedStateChangeEventData.h:5

◆ RawInputEventHandlerCallback

using ScreenController::RawInputEventHandlerCallback
Initial value:
Definition RawInputScreenEventData.h:5

◆ ClippedCollectionEventHandlerCallback

using ScreenController::ClippedCollectionEventHandlerCallback
Initial value:
::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag&) const>
Definition UIPropertyBag.h:5

◆ ClipStateChangeEventHandlerCallback

using ScreenController::ClipStateChangeEventHandlerCallback
Initial value:
::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag&) const>

◆ BindItemDataForAnyCollectionCallback

using ScreenController::BindItemDataForAnyCollectionCallback
Initial value:
::brstd::move_only_function<::ItemRendererData(::std::string const&, int) const>
Definition ItemRendererData.h:5

◆ BindStringForAnyCollectionCallback

using ScreenController::BindStringForAnyCollectionCallback
Initial value:
::brstd::move_only_function<::std::string(::std::string const&, int) const>

◆ BindForAnyCollectionCallback

using ScreenController::BindForAnyCollectionCallback
Initial value:
::brstd::move_only_function<void(int, ::std::string const&, ::UIPropertyBag&) const>

◆ BindForCollectionCallback

using ScreenController::BindForCollectionCallback
Initial value:
::brstd::move_only_function<void(::std::string const&, int, ::std::string const&, ::UIPropertyBag&) const>

◆ ButtonEventCallbackInfo

using ScreenController::ButtonEventCallbackInfo
Initial value:
::std::tuple<
::ScreenController::PreviousButtonStateRequirement,
::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const>>

◆ ButtonEventCallbackInfoVector

using ScreenController::ButtonEventCallbackInfoVector
Initial value:
::std::vector<::std::tuple<
::ScreenController::PreviousButtonStateRequirement,
::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const>>>

◆ ButtonEventCallbackMap

using ScreenController::ButtonEventCallbackMap
Initial value:
::std::unordered_map<
::std::tuple<uint, ::ButtonState>,
::std::vector<::std::tuple<
::ScreenController::PreviousButtonStateRequirement,
::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const>>>,
::std::equal_to<::std::tuple<uint, ::ButtonState>>>
Definition ScreenController.h:17

◆ ButtonInteractedEventCallbackVector

using ScreenController::ButtonInteractedEventCallbackVector
Initial value:
::std::vector<::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const>>

◆ ButtonInteractedEventCallbackMap

using ScreenController::ButtonInteractedEventCallbackMap
Initial value:
::std::
unordered_map<uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest(::UIPropertyBag*) const>>>

◆ ToggleChangeEventCallbackVector

using ScreenController::ToggleChangeEventCallbackVector
Initial value:
::std::vector<::brstd::move_only_function<::ui::ViewRequest(::ToggleChangeEventData&) const>>

◆ ToggleChangeEventCallbackMap

using ScreenController::ToggleChangeEventCallbackMap
Initial value:
::std::unordered_map<
uint,
::std::vector<::brstd::move_only_function<::ui::ViewRequest(::ToggleChangeEventData&) const>>>

◆ TextEditSelectedStateChangeEventCallbackVector

using ScreenController::TextEditSelectedStateChangeEventCallbackVector
Initial value:

◆ TextEditSelectedStateChangeEventCallbackMap

using ScreenController::TextEditSelectedStateChangeEventCallbackMap
Initial value:
::std::unordered_map<
uint,
::std::vector<::brstd::move_only_function<::ui::ViewRequest(::TextEditSelectedStateChangeEventData&) const>>>

◆ SliderChangeEventHandlerCallbackInfo

using ScreenController::SliderChangeEventHandlerCallbackInfo
Initial value:
::std::
tuple<::ScreenController::SliderChangeType, ::brstd::move_only_function<::ui::ViewRequest(int, float) const>>

◆ SliderChangeEventCallbackVector

using ScreenController::SliderChangeEventCallbackVector
Initial value:
::std::vector<::std::tuple<
::ScreenController::SliderChangeType,
::brstd::move_only_function<::ui::ViewRequest(int, float) const>>>

◆ SliderChangeEventCallbackMap

using ScreenController::SliderChangeEventCallbackMap
Initial value:
::std::unordered_map<
uint,
::std::vector<::std::tuple<
::ScreenController::SliderChangeType,
::brstd::move_only_function<::ui::ViewRequest(int, float) const>>>>

◆ TextEventHandlerCallbackInfo

using ScreenController::TextEventHandlerCallbackInfo
Initial value:
::std::tuple<bool, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData&, int) const>>

◆ TextEventHandlerCallbackVector

using ScreenController::TextEventHandlerCallbackVector
Initial value:
::std::vector<
::std::tuple<bool, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData&, int) const>>>

◆ TextEventHandlerCallbackMap

using ScreenController::TextEventHandlerCallbackMap
Initial value:
::std::unordered_map<
uint,
::std::vector<
::std::tuple<bool, ::brstd::move_only_function<::ui::ViewRequest(::TextEditScreenEventData&, int) const>>>>

◆ AnimationEventHandlerCallbackMap

using ScreenController::AnimationEventHandlerCallbackMap
Initial value:
::std::unordered_map<uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest() const>>>

◆ ClippedCollectionEventHandlerCallbackVector

using ScreenController::ClippedCollectionEventHandlerCallbackVector
Initial value:
::std::vector<::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag&) const>>

◆ ClippedCollectionEventHandlerCallbackMap

using ScreenController::ClippedCollectionEventHandlerCallbackMap
Initial value:
::std::unordered_map<
uint,
::std::vector<::brstd::move_only_function<::ui::ViewRequest(int, int, ::UIPropertyBag&) const>>>

◆ ClipStateChangeHandlerCallbackVector

using ScreenController::ClipStateChangeHandlerCallbackVector
Initial value:
::std::vector<::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag&) const>>

◆ ClipStateChangeEventHandlerCallbackMap

using ScreenController::ClipStateChangeEventHandlerCallbackMap
Initial value:
::std::unordered_map<
uint,
::std::vector<::brstd::move_only_function<::ui::ViewRequest(bool, ::UIPropertyBag&) const>>>

◆ CustomRendererEventHandlerCallbackVector

using ScreenController::CustomRendererEventHandlerCallbackVector
Initial value:
::std::vector<::brstd::move_only_function<::ui::ViewRequest() const>>

◆ CustomRendererEventHandlerCallbackMap

using ScreenController::CustomRendererEventHandlerCallbackMap
Initial value:
::std::unordered_map<uint, ::std::vector<::brstd::move_only_function<::ui::ViewRequest() const>>>

Member Function Documentation

◆ tick()

virtual::ui::DirtyFlag ScreenController::tick ( )
virtual

Implements IScreenController.

◆ preFrameTick()

virtual void ScreenController::preFrameTick ( )
virtual

Implements IScreenController.

◆ handleEvent()

virtual::ui::ViewRequest ScreenController::handleEvent ( ::ScreenEvent & screenEvent)
virtual

Implements IScreenController.

◆ getRoute()

virtual ::std::optional<::std::string > ScreenController::getRoute ( ) const
virtual

Implements IScreenController.

◆ setScreenState()

virtual void ScreenController::setScreenState ( ::std::vector<::std::pair<::std::string_view, ::std::string_view > > const & )
virtual

Implements IScreenController.

◆ $vftable()

MCAPI void ** ScreenController::$vftable ( )
static
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: