LeviLamina
Loading...
Searching...
No Matches
RenderOffsetsItemComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/renderer/MatrixStack.h"
7#include "mc/deps/shared_types/legacy/item/RenderOffsetsItemComponent.h"
8#include "mc/world/item/components/NetworkedItemComponent.h"
9#include "mc/world/level/storage/AllExperiments.h"
10
11// auto generated forward declare list
12// clang-format off
13class SemVersion;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17class RenderOffsetsItemComponent : public ::NetworkedItemComponent<::RenderOffsetsItemComponent> {
18public:
19 // RenderOffsetsItemComponent inner types define
20 enum class Hand : int {
21 MainHand = 0,
22 OffHand = 1,
23 };
24
25 enum class Perspective : int {
26 FirstPerson = 0,
27 ThirdPerson = 1,
28 };
29
31
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<4, 72, ::SharedTypes::Legacy::RenderOffsetsItemComponent::ItemTransforms> mMainHand;
38 ::ll::TypedStorage<4, 72, ::SharedTypes::Legacy::RenderOffsetsItemComponent::ItemTransforms> mOffhand;
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44#ifdef LL_PLAT_C
45 MCAPI static void _buildMatrixFromData(
48 ::RenderOffsetsItemComponent::Perspective perspective
49 );
50#endif
51
52 MCAPI static void bindType(
54 ::std::vector<::AllExperiments> const& requiredToggles,
55 ::std::optional<::SemVersion> releasedMinFormatVersion
56 );
57 // NOLINTEND
58
59public:
60 // static variables
61 // NOLINTBEGIN
62 MCAPI static ::SharedTypes::Legacy::RenderOffsetsItemComponent::ItemTransforms& Main_Hand_Defaults();
63
64 MCAPI static ::SharedTypes::Legacy::RenderOffsetsItemComponent::ItemTransforms& Off_Hand_Defaults();
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition NetworkedItemComponent.h:7
Definition RenderOffsetsItemComponent.h:17
static MCAPI void ** $vftable()
Definition SemVersion.h:15
Definition MatrixStack.h:13
Definition RenderOffsetsItemComponent.h:26
Definition RenderOffsetsItemComponent.h:16
Definition ReflectionCtx.h:11
Definition ctx.h:5