Skip to content
LeviMC
English
AutoLightDark
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;
13// clang-format on
14
15class UIAnimFlipbook : public ::UIAnim {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, float> mAnimationTime;
20 ::ll::TypedStorage<4, 4, float> mCurrentFrame;
21 ::ll::TypedStorage<4, 4, float> mFPS;
22 ::ll::TypedStorage<4, 4, int> mFrameCount;
23 ::ll::TypedStorage<4, 4, float> mFrameStep;
24 ::ll::TypedStorage<1, 1, bool> mReverse;
25 ::ll::TypedStorage<1, 1, bool> mReversible;
26 ::ll::TypedStorage<1, 1, ::ui::OrientationType> mFlipOrientation;
27 ::ll::TypedStorage<1, 1, bool> mLooping;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::shared_ptr<::UIAnim> clone() /*override*/;
34
35 virtual char const* getInitialValueKey() const /*override*/;
36
37 virtual bool tick(::UIControl& ownerControl, float const deltaTime) /*override*/;
38
39 virtual void onResourcesLoaded(::UIAnimationComponent& animComponent) /*override*/;
40
41 virtual void _reset(::UIControl& ownerControl) /*override*/;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCNAPI ::std::shared_ptr<::UIAnim> $clone();
48
49 MCNAPI char const* $getInitialValueKey() const;
50
51 MCNAPI bool $tick(::UIControl& ownerControl, float const deltaTime);
52
53 MCNAPI void $onResourcesLoaded(::UIAnimationComponent& animComponent);
54
55 MCNAPI void $_reset(::UIControl& ownerControl);
56 // NOLINTEND
57};
Definition UIAnimFlipbook.h:5
MCAPI ::std::shared_ptr<::UIAnim > $clone()
MCAPI bool $tick(::UIControl &ownerControl, float const deltaTime)
MCAPI char const * $getInitialValueKey() const
MCAPI void $onResourcesLoaded(::UIAnimationComponent &animComponent)
MCAPI void $_reset(::UIControl &ownerControl)
Definition UIAnim.h:5
Definition UIAnimationComponent.h:5
Definition UIControl.h:5
STL namespace.