LeviLamina
Loading...
Searching...
No Matches
AnimatedGifRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/controls/renderers/AnimatedGif.h"
7#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
8#include "mc/client/gui/screens/UIBatchType.h"
9#include "mc/deps/core/threading/TaskGroup.h"
10#include "mc/deps/minecraft_renderer/resources/ClientTexture.h"
11
12// auto generated forward declare list
13// clang-format off
14class IClientInstance;
16class UIControl;
18class UIScene;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<8, 32, ::std::string> mFilePath;
26 ::ll::TypedStorage<1, 1, bool> mSourceChanged;
27 ::ll::TypedStorage<1, 1, bool> mUseAnimations;
28 ::ll::TypedStorage<8, 24, ::mce::ClientTexture> mFrameTexture;
29 ::ll::TypedStorage<8, 136, ::std::optional<::AnimatedGif>> mAnimatedGif;
30 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ~AnimatedGifRenderer() /*override*/ = default;
37
38 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
39
40 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&) /*override*/;
41
42 virtual void
43 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int) /*override*/;
44
45 virtual ::UIBatchType getBatchType() const /*override*/;
46
47 virtual int getCustomId() const /*override*/;
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
54
55 MCAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const&);
56
57 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance&, ::UIControl& owner, int);
58
59 MCFOLD ::UIBatchType $getBatchType() const;
60
61 MCFOLD int $getCustomId() const;
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition AnimatedGifRenderer.h:5
static MCAPI void ** $vftable()
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5