3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/AnimationType.h"
18 enum class State :
int {
27 ::ll::TypedStorage<1, 1, ::ui::AnimationType> mAnimType;
28 ::ll::TypedStorage<4, 4, float> mTime;
29 ::ll::TypedStorage<8, 8, float (*)(float, float, float)> mEase;
30 ::ll::TypedStorage<4, 4, ::UIAnim::State> mState;
31 ::ll::TypedStorage<4, 4, uint> mAnimEndEventId;
32 ::ll::TypedStorage<4, 4, uint> mPlayEventId;
33 ::ll::TypedStorage<4, 4, uint> mResetEventId;
34 ::ll::TypedStorage<4, 4, float> mDuration;
35 ::ll::TypedStorage<8, 32, ::std::string> mName;
36 ::ll::TypedStorage<8, 32, ::std::string> mNext;
37 ::ll::TypedStorage<8, 32, ::std::string> mDestroyControlAtEnd;
38 ::ll::TypedStorage<1, 1, bool> mResettable;
39 ::ll::TypedStorage<1, 1, bool> mWaitUntilRenderedToPlay;
40 ::ll::TypedStorage<1, 1, bool> mRendered;
41 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UIAnim>> mNextAnim;
46 UIAnim& operator=(UIAnim
const&);
54 virtual ::std::shared_ptr<::UIAnim> clone();
56 virtual char const* getInitialValueKey()
const;
58 virtual bool tick(::UIControl& ownerControl,
float const deltaTime);
60 virtual void updateProperties(::UIAnimationComponent& animComponent);
62 virtual void onResourcesLoaded(::UIAnimationComponent& animComponent);
64 virtual void _reset(::UIControl& ownerControl);
72 MCAPI UIAnim(::UIAnim
const&);
74 MCAPI UIAnim(::ui::AnimationType animType, ::UIResolvedDef
const& def);
76 MCAPI
bool _hasEndEventId(uint
id, ::std::set<void const*>& otherAnimations)
const;
78 MCAPI
bool _hasPlayEventId(uint playEventId, ::std::set<void const*>& otherAnimations)
const;
82 MCAPI
void setNextAnim(::std::shared_ptr<::UIAnim> next);
88 MCAPI
void* $ctor(::UIAnim
const&);
90 MCAPI
void* $ctor(::ui::AnimationType animType, ::UIResolvedDef
const& def);
102 MCAPI ::std::shared_ptr<::UIAnim> $clone();
104 MCAPI
char const* $getInitialValueKey()
const;
106 MCAPI
bool $tick(::UIControl& ownerControl,
float const deltaTime);
108 MCAPI
void $updateProperties(::UIAnimationComponent& animComponent);
110 MCAPI
void $onResourcesLoaded(::UIAnimationComponent& animComponent);
112 MCAPI
void $_reset(::UIControl& ownerControl);
static MCAPI void ** $vftable()
Definition UIAnimationComponent.h:5
Definition UIResolvedDef.h:5