LeviLamina
Loading...
Searching...
No Matches
UIAnimFlipbook.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/OrientationType.h"
7#include "mc/client/gui/controls/UIAnim.h"
8
9// auto generated forward declare list
10// clang-format off
12class UIControl;
13class UIResolvedDef;
14// clang-format on
15
16class UIAnimFlipbook : public ::UIAnim {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<4, 4, float> mAnimationTime;
21 ::ll::TypedStorage<4, 4, float> mCurrentFrame;
22 ::ll::TypedStorage<4, 4, float> mFPS;
23 ::ll::TypedStorage<4, 4, int> mFrameCount;
24 ::ll::TypedStorage<4, 4, float> mFrameStep;
25 ::ll::TypedStorage<1, 1, bool> mReverse;
26 ::ll::TypedStorage<1, 1, bool> mReversible;
27 ::ll::TypedStorage<1, 1, ::ui::OrientationType> mFlipOrientation;
28 ::ll::TypedStorage<1, 1, bool> mLooping;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 UIAnimFlipbook();
34
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual ::std::shared_ptr<::UIAnim> clone() /*override*/;
39
40 virtual char const* getInitialValueKey() const /*override*/;
41
42 virtual bool tick(::UIControl& ownerControl, float const deltaTime) /*override*/;
43
44 virtual void onResourcesLoaded(::UIAnimationComponent& animComponent) /*override*/;
45
46 virtual void _reset(::UIControl& ownerControl) /*override*/;
47
48 virtual ~UIAnimFlipbook() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI explicit UIAnimFlipbook(::UIResolvedDef const& def);
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::UIResolvedDef const& def);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::std::shared_ptr<::UIAnim> $clone();
67
68 MCFOLD char const* $getInitialValueKey() const;
69
70 MCAPI bool $tick(::UIControl& ownerControl, float const deltaTime);
71
72 MCAPI void $onResourcesLoaded(::UIAnimationComponent& animComponent);
73
74 MCAPI void $_reset(::UIControl& ownerControl);
75 // NOLINTEND
76
77public:
78 // vftables
79 // NOLINTBEGIN
80 MCNAPI static void** $vftable();
81 // NOLINTEND
82};
Definition UIAnimFlipbook.h:5
static MCAPI void ** $vftable()
Definition UIAnim.h:5
Definition UIAnimationComponent.h:5
Definition UIControl.h:5
Definition UIResolvedDef.h:5