LeviLamina
Loading...
Searching...
No Matches
CommandPosition.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11class CommandOrigin;
12class CompoundTag;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 12, ::Vec3> mOffset;
20 ::ll::TypedStorage<1, 1, bool> mRelativeX;
21 ::ll::TypedStorage<1, 1, bool> mRelativeY;
22 ::ll::TypedStorage<1, 1, bool> mRelativeZ;
23 ::ll::TypedStorage<1, 1, bool> mLocal;
24 // NOLINTEND
25
26public:
27 // member functions
28 // NOLINTBEGIN
29 MCAPI CommandPosition();
30
31 MCAPI explicit CommandPosition(::Vec3 const& absoluteOffset);
32
33 MCAPI ::BlockPos getBlockPos(int version, ::CommandOrigin const& origin, ::Vec3 const& offsetFromBase) const;
34
35 MCAPI ::Vec3 getPosition(int version, ::CommandOrigin const& origin, ::Vec3 const& offsetFromBase) const;
36
37 MCAPI ::CompoundTag serialize() const;
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCAPI void* $ctor();
44
45 MCAPI void* $ctor(::Vec3 const& absoluteOffset);
46 // NOLINTEND
47};
Definition BlockPos.h:18
Definition CommandOrigin.h:32
Definition CommandPosition.h:15
Definition CompoundTag.h:13
Definition Vec3.h:10
Definition serialize.h:11