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*/;
31
32 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
33
34 virtual bool update(::IClientInstance& client, ::UIControl& scene, ::UIScene const&) /*override*/;
35
36 virtual void render(::MinecraftUIRenderContext& client, ::IClientInstance& owner, ::UIControl&, int) /*override*/;
37
38 virtual void onVisibilityChanged(bool visible) /*override*/;
39 // NOLINTEND
40
41public:
42 // member functions
43 // NOLINTBEGIN
44 MCAPI WebViewRenderer();
45
46 MCAPI ::std::shared_ptr<::WebviewInterface>
47 _getWebview(::IClientInstance& client, ::WebviewInterfaceType interfaceType);
48 // NOLINTEND
49
50public:
51 // constructor thunks
52 // NOLINTBEGIN
53 MCAPI void* $ctor();
54 // NOLINTEND
55
56public:
57 // destructor thunk
58 // NOLINTBEGIN
59 MCAPI void $dtor();
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
66
67 MCAPI bool $update(::IClientInstance& client, ::UIControl& scene, ::UIScene const&);
68
69 MCAPI void $render(::MinecraftUIRenderContext& client, ::IClientInstance& owner, ::UIControl&, int);
70
71 MCAPI void $onVisibilityChanged(bool visible);
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCNAPI static void** $vftable();
78 // NOLINTEND
79};
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