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

Classes

struct  NewAnimation

Public Types

using AnimList = ::std::vector<::std::shared_ptr<::UIAnim>>
using AnimListIter = ::std::_Vector_iterator<::std::_Vector_val<::std::_Simple_types<::std::shared_ptr<::UIAnim>>>>

Public Member Functions

virtual ::std::unique_ptr<::UIComponent > clone (::UIControl &cloneOwner) const
virtual void reset ()
virtual::ComponentReceiveActionType receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI void _addNextAnimation (::UIAnim &anim, ::std::map<::std::string, ::std::shared_ptr<::UIAnim > > &animationNames, ::std::shared_ptr<::UIAnim > const &firstAnim, ::UIControlFactory &factory)
MCAPI::ui::AnimationStatus _animationTick (::mce::TimeStep const &timeStep)
MCAPI ::std::shared_ptr<::UIAnim_createAnimation (::UIResolvedDef &def, ::UIControlFactory &factory)
MCAPI void _resetAnimations ()
MCAPI::AnimationTickResult _tickUIAnim (::UIAnim *anim, ::std::vector<::UIAnimationComponent::NewAnimation > &newAnimsToAdd, float deltaTime)
MCAPI::UIAnim * addAnimation (::std::string const &name, ::UIResolvedDef &def, ::UIControlFactory &factory)
MCAPI void handleScreenEvent (::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
MCAPI bool hasAnimationWithEndEventId (uint id) const
MCAPI bool hasAnimationWithPlayAndEndEventIds (uint playEventId, uint endEventId) const
MCAPI ::std::unique_ptr<::UIComponent > $clone (::UIControl &cloneOwner) const
MCAPI void $reset ()
MCAPI::ComponentReceiveActionType $receive (::VisualTree &visualTree, ::ScreenInputContext &context, ::UIAnimationController &animationController, ::ScreenEvent const &screenEvent)
virtual::ComponentReceiveActionType receive (::ScreenEvent const &screenEvent)
virtual void onNotifyChildAdded ()
virtual void onNotifyChildRemoved ()
virtual void onRemoved ()
virtual void onAdded ()
virtual void onVisibilityChanged (bool visible)
virtual void onEnabledChanged (bool enabled)
virtual bool isRenderableComponent () const
virtual bool isCustomFrameUpdateComponent () const
virtual bool onLayoutChange ()
virtual void reload (::UIComponent const &rhs)
virtual::std::string const & getTextToSpeechComponentValue () const
MCFOLD::ComponentReceiveActionType $receive (::ScreenEvent const &screenEvent)
MCFOLD void $onNotifyChildAdded ()
MCFOLD void $onNotifyChildRemoved ()
MCFOLD void $onRemoved ()
MCFOLD void $onAdded ()
MCFOLD void $onVisibilityChanged (bool visible)
MCFOLD void $onEnabledChanged (bool enabled)
MCFOLD bool $isRenderableComponent () const
MCFOLD bool $isCustomFrameUpdateComponent () const
MCFOLD bool $onLayoutChange ()
MCFOLD void $reload (::UIComponent const &rhs)
MCFOLD::std::string const & $getTextToSpeechComponentValue () const

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIAnim > > > mAnimList
::ll::TypedStorage< 8, 24, ::std::vector<::std::shared_ptr<::UIAnim > > > mOriginalAnimList
::ll::TypedStorage< 8, 24, ::std::vector<::ScreenEvent > > mNewScreenEvents
::ll::TypedStorage< 1, 1, bool > mTickAttached
::ll::TypedStorage< 8, 8, ::std::chrono::steady_clock::time_point > mCreatedTime
::ll::TypedStorage< 1, 1, bool > mRecievedFirstTick
::ll::TypedStorage< 1, 1, bool > mDisableFastForward
::ll::TypedStorage< 4, 4, uint > mResetId
::ll::TypedStorage< 8, 8, ::UIControl & > mOwner

Member Function Documentation

◆ clone()

virtual ::std::unique_ptr<::UIComponent > UIAnimationComponent::clone ( ::UIControl & cloneOwner) const
virtual

Implements UIComponent.

◆ reset()

virtual void UIAnimationComponent::reset ( )
virtual

Implements UIComponent.


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