LeviLamina
Loading...
Searching...
No Matches
UIAnimationController.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/screens/AnimationStatus.h"
7
8// auto generated forward declare list
9// clang-format off
10class UIControl;
11struct ScreenEvent;
12namespace mce { struct TimeStep; }
13// clang-format on
14
16public:
17 // UIAnimationController inner types declare
18 // clang-format off
20 // clang-format on
21
22 // UIAnimationController inner types define
23 enum class tickType : int {
24 Fixed = 0,
25 Render = 1,
26 };
27
29 public:
30 // member variables
31 // NOLINTBEGIN
32 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::UIControl>> control;
33 ::ll::TypedStorage<8, 64, ::std::function<::ui::AnimationStatus(::mce::TimeStep const&)>> function;
34 // NOLINTEND
35
36 public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI ~AnimationUIControlFunctionCallback();
40 // NOLINTEND
41
42 public:
43 // destructor thunk
44 // NOLINTBEGIN
45 MCFOLD void $dtor();
46 // NOLINTEND
47 };
48
49 using animationFunction_t = ::std::function<::ui::AnimationStatus(::mce::TimeStep const&)>;
50
51 using animationList_t = ::std::vector<::UIAnimationController::AnimationUIControlFunctionCallback>;
52
53public:
54 // member variables
55 // NOLINTBEGIN
56 ::ll::TypedStorage<8, 24, ::std::vector<::UIAnimationController::AnimationUIControlFunctionCallback>>
57 animationListFixedTimestep;
58 ::ll::TypedStorage<8, 24, ::std::vector<::UIAnimationController::AnimationUIControlFunctionCallback>>
59 animationListRenderTimestep;
60 // NOLINTEND
61
62public:
63 // member functions
64 // NOLINTBEGIN
65 MCAPI bool _tick(
66 ::std::vector<::UIAnimationController::AnimationUIControlFunctionCallback>& animationList,
67 ::mce::TimeStep const& timeStep,
68 ::std::vector<::ScreenEvent>& screenEvents
69 );
70
71 MCAPI ~UIAnimationController();
72 // NOLINTEND
73
74public:
75 // destructor thunk
76 // NOLINTBEGIN
77 MCAPI void $dtor();
78 // NOLINTEND
79};
Definition UIAnimationController.h:5
Definition UIControl.h:5
Definition ScreenEvent.h:5
Definition TimeStep.h:7