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 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 1
40 virtual ::Vec3 loadPosition(::Vec3 const& position) /*override*/;
41
42 // vIndex: 2
43 virtual ::BlockPos loadBlockPosition(::BlockPos const& blockPos) /*override*/;
44
45 // vIndex: 3
46 virtual ::BlockPos loadBlockPositionOffset(::BlockPos const& blockPosOffset) /*override*/;
47
48 // vIndex: 4
49 virtual float loadRotationDegreesX(float x) /*override*/;
50
51 // vIndex: 5
52 virtual float loadRotationDegreesY(float y) /*override*/;
53
54 // vIndex: 6
55 virtual float loadRotationRadiansX(float x) /*override*/;
56
57 // vIndex: 7
58 virtual float loadRotationRadiansY(float y) /*override*/;
59
60 // vIndex: 8
61 virtual uchar loadFacingID(uchar facing) /*override*/;
62
63 // vIndex: 10
64 virtual ::Vec3 loadDirection(::Vec3 const& direction) /*override*/;
65
66 // vIndex: 9
67 virtual ::Direction::Type loadDirection(::Direction::Type direction) /*override*/;
68
69 // vIndex: 11
70 virtual ::Rotation loadRotation(::Rotation rotation) /*override*/;
71
72 // vIndex: 12
73 virtual ::Mirror loadMirror(::Mirror mirror) /*override*/;
74
75 // vIndex: 13
76 virtual ::ActorUniqueID loadActorUniqueID(::ActorUniqueID id) /*override*/;
77
78 // vIndex: 14
79 virtual ::ActorUniqueID loadOwnerID(::ActorUniqueID id) /*override*/;
80
81 // vIndex: 15
82 virtual ::InternalComponentRegistry::ComponentInfo const* loadActorInternalComponentInfo(
83 ::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo> const& registry,
84 ::std::string const& componentName
85 ) /*override*/;
86
87 // vIndex: 17
88 virtual bool shouldResetTime() /*override*/;
89
90 // vIndex: 16
91 virtual ::DataLoadHelperType getType() const /*override*/;
92
93 // vIndex: 18
94 virtual ::ActorUniqueID _generateNewID();
95
96 // vIndex: 0
97 virtual ~StructureDataLoadHelper() /*override*/;
98 // NOLINTEND
99
100public:
101 // destructor thunk
102 // NOLINTBEGIN
103 MCNAPI void $dtor();
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109 MCNAPI ::Vec3 $loadPosition(::Vec3 const& position);
110
111 MCNAPI ::BlockPos $loadBlockPosition(::BlockPos const& blockPos);
112
113 MCNAPI ::BlockPos $loadBlockPositionOffset(::BlockPos const& blockPosOffset);
114
115 MCNAPI float $loadRotationDegreesX(float x);
116
117 MCNAPI float $loadRotationDegreesY(float y);
118
119 MCNAPI float $loadRotationRadiansX(float x);
120
121 MCNAPI float $loadRotationRadiansY(float y);
122
123 MCNAPI uchar $loadFacingID(uchar facing);
124
125 MCNAPI ::Vec3 $loadDirection(::Vec3 const& direction);
126
127 MCNAPI ::Direction::Type $loadDirection(::Direction::Type direction);
128
129 MCNAPI ::Rotation $loadRotation(::Rotation rotation);
130
131 MCNAPI ::Mirror $loadMirror(::Mirror mirror);
132
133 MCNAPI ::ActorUniqueID $loadActorUniqueID(::ActorUniqueID id);
134
135 MCNAPI ::ActorUniqueID $loadOwnerID(::ActorUniqueID id);
136
137 MCNAPI ::InternalComponentRegistry::ComponentInfo const* $loadActorInternalComponentInfo(
138 ::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo> const& registry,
139 ::std::string const& componentName
140 );
141
142 MCNAPI bool $shouldResetTime();
143
144 MCNAPI ::DataLoadHelperType $getType() const;
145
146 MCNAPI ::ActorUniqueID $_generateNewID();
147 // NOLINTEND
148
149public:
150 // vftables
151 // NOLINTBEGIN
152 MCNAPI static void** $vftable();
153 // NOLINTEND
154};
Definition BlockPos.h:18
Definition DataLoadHelper.h:20
Definition HashedString.h:5
Definition Level.h:238
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 bool $shouldResetTime()
MCAPI uchar $loadFacingID(uchar facing)
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