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/gui/controls/renderers/MinecraftUICustomRenderer.h"
7
8// auto generated forward declare list
9// clang-format off
10class IClientInstance;
12class UIControl;
14class UIScene;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::WebviewInterface>> mWebView;
23 ::ll::TypedStorage<1, 1, bool> mIsOnActiveScene;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~WebViewRenderer() /*override*/ = default;
30
31 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
32
33 virtual bool update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene) /*override*/;
34
35 virtual void render(::MinecraftUIRenderContext&, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
36
37 virtual void onVisibilityChanged(bool visible) /*override*/;
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
44
45 MCAPI bool $update(::IClientInstance& client, ::UIControl& owner, ::UIScene const& scene);
46
47 MCAPI void $render(::MinecraftUIRenderContext&, ::IClientInstance& client, ::UIControl& owner, int);
48
49 MCAPI void $onVisibilityChanged(bool visible);
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
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