LeviLamina
Loading...
Searching...
No Matches
WebViewRenderer.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/game/WebviewInterfaceType.h"
7#include "mc/client/gui/controls/renderers/MinecraftUICustomRenderer.h"
8
9// auto generated forward declare list
10// clang-format off
11class IClientInstance;
13class UIControl;
15class UIScene;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::WebviewInterface>> mWebView;
24 ::ll::TypedStorage<1, 1, bool> mIsOnActiveScene;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~WebViewRenderer() /*override*/ = default;
31
32 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
33
34 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
35
36 virtual void render(::MinecraftUIRenderContext&, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
37
38 virtual void onVisibilityChanged(bool visible) /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI ::std::shared_ptr<::WebviewInterface>
45 _getWebview(::IClientInstance& client, ::WebviewInterfaceType interfaceType);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
52
53 MCAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
54
55 MCAPI void $render(::MinecraftUIRenderContext&, ::IClientInstance& client, ::UIControl& owner, int);
56
57 MCAPI void $onVisibilityChanged(bool visible);
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition IClientInstance.h:5
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition UIScene.h:5
Definition WebViewRenderer.h:5
static MCAPI void ** $vftable()
Definition WebviewInterface.h:5