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/world/item/components/NetworkedItemComponent.h"
7#include "mc/world/level/storage/AllExperiments.h"
8
9// auto generated forward declare list
10// clang-format off
11class HashedString;
12class SemVersion;
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16class RenderOffsetsItemComponent : public ::NetworkedItemComponent<::RenderOffsetsItemComponent> {
17public:
18 // RenderOffsetsItemComponent inner types declare
19 // clang-format off
20 struct ItemTransforms;
21 struct TRS;
22 // clang-format on
23
24 // RenderOffsetsItemComponent inner types define
25 struct TRS {
26 public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 12, ::std::array<float, 3>> mTranslation;
30 ::ll::TypedStorage<4, 12, ::std::array<float, 3>> mRotation;
31 ::ll::TypedStorage<4, 12, ::std::array<float, 3>> mScale;
32 // NOLINTEND
33
34 public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI bool operator==(::RenderOffsetsItemComponent::TRS const& other) const;
38 // NOLINTEND
39 };
40
42 public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<4, 36, ::RenderOffsetsItemComponent::TRS> mFirstPerson;
46 ::ll::TypedStorage<4, 36, ::RenderOffsetsItemComponent::TRS> mThirdPerson;
47 // NOLINTEND
48
49 public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI bool operator==(::RenderOffsetsItemComponent::ItemTransforms const& other) const;
53 // NOLINTEND
54 };
55
56 enum class Hand : int {
57 MainHand = 0,
58 OffHand = 1,
59 };
60
61 enum class Perspective : int {
62 FirstPerson = 0,
63 ThirdPerson = 1,
64 };
65
66public:
67 // member variables
68 // NOLINTBEGIN
69 ::ll::TypedStorage<4, 72, ::RenderOffsetsItemComponent::ItemTransforms> mMainHand;
70 ::ll::TypedStorage<4, 72, ::RenderOffsetsItemComponent::ItemTransforms> mOffhand;
71 // NOLINTEND
72
73public:
74 // virtual functions
75 // NOLINTBEGIN
76 // vIndex: 0
77 virtual ~RenderOffsetsItemComponent() /*override*/ = default;
78 // NOLINTEND
79
80public:
81 // static functions
82 // NOLINTBEGIN
83 MCFOLD static void _fromString(::RenderOffsetsItemComponent&, ::std::string const&);
84
85 MCAPI static void bindType(
87 ::std::vector<::AllExperiments> const& requiredToggles,
88 ::std::optional<::SemVersion> releasedMinFormatVersion
89 );
90
91 MCAPI static ::HashedString const& getIdentifier();
92 // NOLINTEND
93
94public:
95 // static variables
96 // NOLINTBEGIN
97 MCAPI static ::RenderOffsetsItemComponent::ItemTransforms& Main_Hand_Defaults();
98
99 MCAPI static ::RenderOffsetsItemComponent::ItemTransforms& Off_Hand_Defaults();
100 // NOLINTEND
101
102public:
103 // vftables
104 // NOLINTBEGIN
105 MCNAPI static void** $vftable();
106 // NOLINTEND
107};
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition RenderOffsetsItemComponent.h:16
static MCAPI void ** $vftable()
Definition SemVersion.h:16
Definition RenderOffsetsItemComponent.h:41
Definition RenderOffsetsItemComponent.h:25
Definition ReflectionCtx.h:11
Definition ctx.h:5