LeviLamina
Loading...
Searching...
No Matches
LivePlayerRenderer.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#include "mc/deps/core/utility/NonOwnerPointer.h"
8
9// auto generated forward declare list
10// clang-format off
11class GuiData;
12class IClientInstance;
14class Mob;
15class UIControl;
17// clang-format on
18
20public:
21 // LivePlayerRenderer inner types declare
22 // clang-format off
23 struct RotationProxy;
24 // clang-format on
25
26 // LivePlayerRenderer inner types define
27 struct RotationProxy {
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<4, 4, float> mYBodyRot;
32 ::ll::TypedStorage<4, 4, float> mYBodyRotO;
33 ::ll::TypedStorage<4, 4, float> mRotX;
34 ::ll::TypedStorage<4, 4, float> mRotY;
35 ::ll::TypedStorage<4, 4, float> mYHeadRot;
36 ::ll::TypedStorage<4, 4, float> mYHeadRotO;
37 // NOLINTEND
38
39 public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI void popValueFromMob(::Mob const& mob);
43 // NOLINTEND
44 };
45
46public:
47 // virtual functions
48 // NOLINTBEGIN
49 virtual ::std::shared_ptr<::UICustomRenderer> clone() const /*override*/;
50
51 virtual void
52 render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int) /*override*/;
53
54 virtual ~LivePlayerRenderer() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static void _getMousePosition(
61 float& xMouse,
62 float& yMouse,
63 float xo,
64 float yo,
65 ::Bedrock::NotNullNonOwnerPtr<::GuiData const> const& guiData,
66 ::IClientInstance const& client,
67 ::UIControl const& owner
68 );
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::std::shared_ptr<::UICustomRenderer> $clone() const;
75
76 MCAPI void $render(::MinecraftUIRenderContext& renderContext, ::IClientInstance& client, ::UIControl& owner, int);
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition GuiData.h:5
Definition IClientInstance.h:5
Definition LivePlayerRenderer.h:5
static MCAPI void ** $vftable()
Definition MinecraftUICustomRenderer.h:5
Definition MinecraftUIRenderContext.h:5
Definition Mob.h:51
Definition UIControl.h:5
Definition UICustomRenderer.h:5
Definition LivePlayerRenderer.h:13