LeviLamina
Loading...
Searching...
No Matches
DataLoadHelper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/dataloadhelper/DataLoadHelperType.h"
7#include "mc/util/Mirror.h"
8#include "mc/util/Rotation.h"
9#include "mc/world/Direction.h"
10#include "mc/world/actor/InternalComponentRegistry.h"
11
12// auto generated forward declare list
13// clang-format off
14class BlockPos;
15class HashedString;
16class Vec3;
17struct ActorUniqueID;
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 virtual ~DataLoadHelper() = default;
25
26 virtual ::Vec3 loadPosition(::Vec3 const&) = 0;
27
28 virtual ::BlockPos loadBlockPosition(::BlockPos const&) = 0;
29
30 virtual ::BlockPos loadBlockPositionOffset(::BlockPos const&) = 0;
31
32 virtual float loadRotationDegreesX(float) = 0;
33
34 virtual float loadRotationDegreesY(float) = 0;
35
36 virtual float loadRotationRadiansX(float) = 0;
37
38 virtual float loadRotationRadiansY(float) = 0;
39
40 virtual uchar loadFacingID(uchar) = 0;
41
42 virtual ::Vec3 loadDirection(::Vec3 const&) = 0;
43
44 virtual ::Direction::Type loadDirection(::Direction::Type) = 0;
45
46 virtual ::Rotation loadRotation(::Rotation) = 0;
47
48 virtual ::Mirror loadMirror(::Mirror) = 0;
49
50 virtual ::ActorUniqueID loadActorUniqueID(::ActorUniqueID) = 0;
51
52 virtual ::ActorUniqueID loadOwnerID(::ActorUniqueID) = 0;
53
54 virtual ::InternalComponentRegistry::ComponentInfo const* loadActorInternalComponentInfo(
55 ::std::unordered_map<::HashedString, ::InternalComponentRegistry::ComponentInfo> const&,
56 ::std::string const&
57 ) = 0;
58
59 virtual ::DataLoadHelperType getType() const = 0;
60
61 virtual bool shouldResetTime() = 0;
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67
68 // NOLINTEND
69};
Definition BlockPos.h:19
Definition DataLoadHelper.h:20
Definition HashedString.h:5
Definition Vec3.h:10
Definition ActorUniqueID.h:5