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/util/Mirror.h"
9#include "mc/util/Rotation.h"
10#include "mc/world/Direction.h"
11#include "mc/world/actor/InternalComponentRegistry.h"
12
13// auto generated forward declare list
14// clang-format off
15class BlockPos;
16class HashedString;
17class Level;
18class Vec3;
19struct ActorUniqueID;
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 MCAPI void $dtor();
104 // NOLINTEND
105
106public:
107 // virtual function thunks
108 // NOLINTBEGIN
109 MCAPI ::Vec3 $loadPosition(::Vec3 const& position);
110
111 MCAPI ::BlockPos $loadBlockPosition(::BlockPos const& blockPos);
112
113 MCAPI ::BlockPos $loadBlockPositionOffset(::BlockPos const& blockPosOffset);
114
115 MCFOLD float $loadRotationDegreesX(float x);
116
117 MCAPI float $loadRotationDegreesY(float y);
118
119 MCFOLD float $loadRotationRadiansX(float x);
120
121 MCAPI float $loadRotationRadiansY(float y);
122
123 MCAPI uchar $loadFacingID(uchar facing);
124
125 MCAPI ::Vec3 $loadDirection(::Vec3 const& direction);
126
127 MCAPI ::Direction::Type $loadDirection(::Direction::Type direction);
128
129 MCAPI ::Rotation $loadRotation(::Rotation rotation);
130
131 MCAPI ::Mirror $loadMirror(::Mirror mirror);
132
133 MCAPI ::ActorUniqueID $loadActorUniqueID(::ActorUniqueID id);
134
135 MCAPI ::ActorUniqueID $loadOwnerID(::ActorUniqueID id);
136
137 MCFOLD ::InternalComponentRegistry::ComponentInfo const* $loadActorInternalComponentInfo(
138 ::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo> const& registry,
139 ::std::string const& componentName
140 );
141
142 MCFOLD bool $shouldResetTime();
143
144 MCFOLD ::DataLoadHelperType $getType() const;
145
146 MCAPI ::ActorUniqueID $_generateNewID();
147 // NOLINTEND
148
149public:
150 // vftables
151 // NOLINTBEGIN
152 MCAPI static void** $vftable();
153 // NOLINTEND
154};
Definition BlockPos.h:18
Definition DataLoadHelper.h:20
Definition HashedString.h:5
Definition Level.h:234
Definition StructureDataLoadHelper.h:22
Definition Vec3.h:10
Definition ActorUniqueID.h:5