LeviLamina
Loading...
Searching...
No Matches
StructureDataLoadHelper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/dataloadhelper/DataLoadHelper.h"
7#include "mc/dataloadhelper/DataLoadHelperType.h"
8#include "mc/deps/core/math/Vec3.h"
9#include "mc/legacy/ActorUniqueID.h"
10#include "mc/util/Mirror.h"
11#include "mc/util/Rotation.h"
12#include "mc/world/Direction.h"
13#include "mc/world/actor/InternalComponentRegistry.h"
14#include "mc/world/level/BlockPos.h"
15
16// auto generated forward declare list
17// clang-format off
18class HashedString;
19class Level;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 12, ::BlockPos> mStructurePlacementLocation;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mStructureWorldOrigin;
28 ::ll::TypedStorage<4, 12, ::Vec3> mPivot;
29 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mOwner;
30 ::ll::TypedStorage<1, 1, ::Rotation> mRotation;
31 ::ll::TypedStorage<1, 1, ::Mirror> mMirror;
32 ::ll::TypedStorage<8, 8, ::Level*> mLevel;
33 ::ll::TypedStorage<8, 64, ::std::unordered_map<::ActorUniqueID, ::ActorUniqueID>> mOldIDToNewID;
34 // NOLINTEND
35
36public:
37 // prevent constructor by default
39
40public:
41 // virtual functions
42 // NOLINTBEGIN
43 // vIndex: 1
44 virtual ::Vec3 loadPosition(::Vec3 const& position) /*override*/;
45
46 // vIndex: 2
47 virtual ::BlockPos loadBlockPosition(::BlockPos const& blockPos) /*override*/;
48
49 // vIndex: 3
50 virtual ::BlockPos loadBlockPositionOffset(::BlockPos const& blockPosOffset) /*override*/;
51
52 // vIndex: 4
53 virtual float loadRotationDegreesX(float x) /*override*/;
54
55 // vIndex: 5
56 virtual float loadRotationDegreesY(float y) /*override*/;
57
58 // vIndex: 6
59 virtual float loadRotationRadiansX(float x) /*override*/;
60
61 // vIndex: 7
62 virtual float loadRotationRadiansY(float y) /*override*/;
63
64 // vIndex: 8
65 virtual uchar loadFacingID(uchar facing) /*override*/;
66
67 // vIndex: 10
68 virtual ::Vec3 loadDirection(::Vec3 const& direction) /*override*/;
69
70 // vIndex: 9
71 virtual ::Direction::Type loadDirection(::Direction::Type direction) /*override*/;
72
73 // vIndex: 11
74 virtual ::Rotation loadRotation(::Rotation rotation) /*override*/;
75
76 // vIndex: 12
77 virtual ::Mirror loadMirror(::Mirror mirror) /*override*/;
78
79 // vIndex: 13
80 virtual ::ActorUniqueID loadActorUniqueID(::ActorUniqueID id) /*override*/;
81
82 // vIndex: 14
83 virtual ::ActorUniqueID loadOwnerID(::ActorUniqueID id) /*override*/;
84
85 // vIndex: 15
86 virtual ::InternalComponentRegistry::ComponentInfo const* loadActorInternalComponentInfo(
87 ::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo> const& registry,
88 ::std::string const& componentName
89 ) /*override*/;
90
91 // vIndex: 17
92 virtual bool shouldResetTime() /*override*/;
93
94 // vIndex: 16
95 virtual ::DataLoadHelperType getType() const /*override*/;
96
97 // vIndex: 18
98 virtual ::ActorUniqueID _generateNewID();
99
100 // vIndex: 0
101 virtual ~StructureDataLoadHelper() /*override*/;
102 // NOLINTEND
103
104public:
105 // member functions
106 // NOLINTBEGIN
108 ::BlockPos const& structurePlacementLocation,
109 ::BlockPos const& structureWorldOrigin,
110 ::Vec3 const& rotationPivot,
111 ::ActorUniqueID ownerID,
112 ::Rotation rotation,
113 ::Mirror mirror,
114 ::Level& level
115 );
116 // NOLINTEND
117
118public:
119 // constructor thunks
120 // NOLINTBEGIN
121 MCNAPI void* $ctor(
122 ::BlockPos const& structurePlacementLocation,
123 ::BlockPos const& structureWorldOrigin,
124 ::Vec3 const& rotationPivot,
125 ::ActorUniqueID ownerID,
126 ::Rotation rotation,
127 ::Mirror mirror,
128 ::Level& level
129 );
130 // NOLINTEND
131
132public:
133 // destructor thunk
134 // NOLINTBEGIN
135 MCNAPI void $dtor();
136 // NOLINTEND
137
138public:
139 // virtual function thunks
140 // NOLINTBEGIN
141 MCNAPI ::Vec3 $loadPosition(::Vec3 const& position);
142
143 MCNAPI ::BlockPos $loadBlockPosition(::BlockPos const& blockPos);
144
145 MCNAPI ::BlockPos $loadBlockPositionOffset(::BlockPos const& blockPosOffset);
146
147 MCNAPI float $loadRotationDegreesX(float x);
148
149 MCNAPI float $loadRotationDegreesY(float y);
150
151 MCNAPI float $loadRotationRadiansX(float x);
152
153 MCNAPI float $loadRotationRadiansY(float y);
154
155 MCNAPI uchar $loadFacingID(uchar facing);
156
157 MCNAPI ::Vec3 $loadDirection(::Vec3 const& direction);
158
159 MCNAPI ::Direction::Type $loadDirection(::Direction::Type direction);
160
161 MCNAPI ::Rotation $loadRotation(::Rotation rotation);
162
163 MCNAPI ::Mirror $loadMirror(::Mirror mirror);
164
165 MCNAPI ::ActorUniqueID $loadActorUniqueID(::ActorUniqueID id);
166
167 MCNAPI ::ActorUniqueID $loadOwnerID(::ActorUniqueID id);
168
169 MCNAPI ::InternalComponentRegistry::ComponentInfo const* $loadActorInternalComponentInfo(
170 ::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo> const& registry,
171 ::std::string const& componentName
172 );
173
174 MCNAPI bool $shouldResetTime();
175
176 MCNAPI ::DataLoadHelperType $getType() const;
177
178 MCNAPI ::ActorUniqueID $_generateNewID();
179 // NOLINTEND
180
181public:
182 // vftables
183 // NOLINTBEGIN
184 MCNAPI static void** $vftable();
185 // NOLINTEND
186};
Definition BlockPos.h:18
Definition DataLoadHelper.h:20
Definition HashedString.h:5
Definition Level.h:239
Definition StructureDataLoadHelper.h:22
MCAPI float $loadRotationDegreesY(float y)
MCAPI::InternalComponentRegistry::ComponentInfo const * $loadActorInternalComponentInfo(::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo > const &registry, ::std::string const &componentName)
static MCAPI void ** $vftable()
MCAPI::ActorUniqueID $_generateNewID()
MCAPI::Vec3 $loadPosition(::Vec3 const &position)
MCAPI float $loadRotationRadiansY(float y)
MCAPI::Mirror $loadMirror(::Mirror mirror)
MCAPI float $loadRotationDegreesX(float x)
MCAPI::Rotation $loadRotation(::Rotation rotation)
MCAPI::DataLoadHelperType $getType() const
MCAPI::Vec3 $loadDirection(::Vec3 const &direction)
MCAPI::Direction::Type $loadDirection(::Direction::Type direction)
MCAPI void * $ctor(::BlockPos const &structurePlacementLocation, ::BlockPos const &structureWorldOrigin, ::Vec3 const &rotationPivot, ::ActorUniqueID ownerID, ::Rotation rotation, ::Mirror mirror, ::Level &level)
MCAPI bool $shouldResetTime()
MCAPI uchar $loadFacingID(uchar facing)
MCAPI StructureDataLoadHelper(::BlockPos const &structurePlacementLocation, ::BlockPos const &structureWorldOrigin, ::Vec3 const &rotationPivot, ::ActorUniqueID ownerID, ::Rotation rotation, ::Mirror mirror, ::Level &level)
MCAPI::ActorUniqueID $loadOwnerID(::ActorUniqueID id)
MCAPI::ActorUniqueID $loadActorUniqueID(::ActorUniqueID id)
MCAPI::BlockPos $loadBlockPosition(::BlockPos const &blockPos)
MCAPI float $loadRotationRadiansX(float x)
MCAPI::BlockPos $loadBlockPositionOffset(::BlockPos const &blockPosOffset)
Definition Vec3.h:10
Definition ActorUniqueID.h:5