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
32 // NOLINTEND
33
34 public:
35 // prevent constructor by default
36 TRS& operator=(TRS const&);
37 TRS(TRS const&);
38 TRS();
39
40 public:
41 // member functions
42 // NOLINTBEGIN
43 MCNAPI bool operator==(::RenderOffsetsItemComponent::TRS const& other) const;
44 // NOLINTEND
45 };
46
48 public:
49 // member variables
50 // NOLINTBEGIN
53 // NOLINTEND
54
55 public:
56 // prevent constructor by default
57 ItemTransforms& operator=(ItemTransforms const&);
60
61 public:
62 // member functions
63 // NOLINTBEGIN
65 // NOLINTEND
66 };
67
68 enum class Hand : int {
69 MainHand = 0,
70 OffHand = 1,
71 };
72
73 enum class Perspective : int {
74 FirstPerson = 0,
75 ThirdPerson = 1,
76 };
77
78public:
79 // member variables
80 // NOLINTBEGIN
81 ::ll::TypedStorage<4, 72, ::RenderOffsetsItemComponent::ItemTransforms> mMainHand;
82 ::ll::TypedStorage<4, 72, ::RenderOffsetsItemComponent::ItemTransforms> mOffhand;
83 // NOLINTEND
84
85public:
86 // virtual functions
87 // NOLINTBEGIN
88 // vIndex: 0
89 virtual ~RenderOffsetsItemComponent() /*override*/ = default;
90 // NOLINTEND
91
92public:
93 // static functions
94 // NOLINTBEGIN
95 MCFOLD static void _fromString(::RenderOffsetsItemComponent&, ::std::string const&);
96
97 MCAPI static void bindType(
99 ::std::vector<::AllExperiments> const& requiredToggles,
100 ::std::optional<::SemVersion> releasedMinFormatVersion
101 );
102
103 MCAPI static ::HashedString const& getIdentifier();
104 // NOLINTEND
105
106public:
107 // static variables
108 // NOLINTBEGIN
109 MCAPI static ::RenderOffsetsItemComponent::ItemTransforms& Main_Hand_Defaults();
110
111 MCAPI static ::RenderOffsetsItemComponent::ItemTransforms& Off_Hand_Defaults();
112 // NOLINTEND
113
114public:
115 // vftables
116 // NOLINTBEGIN
117 MCNAPI static void** $vftable();
118 // NOLINTEND
119};
Definition HashedString.h:5
Definition NetworkedItemComponent.h:7
Definition RenderOffsetsItemComponent.h:16
static MCAPI void ** $vftable()
Definition SemVersion.h:15
Definition RenderOffsetsItemComponent.h:47
MCAPI bool operator==(::RenderOffsetsItemComponent::ItemTransforms const &other) const
Definition RenderOffsetsItemComponent.h:25
MCAPI bool operator==(::RenderOffsetsItemComponent::TRS const &other) const
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14