LeviLamina
Loading...
Searching...
No Matches
BlockTarget.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class BlockPos;
8class Vec3;
9// clang-format on
10
11namespace CameraAimAssist {
12
13class BlockTarget {
14public:
15 // BlockTarget inner types declare
16 // clang-format off
17 struct Side;
18 // clang-format on
19
20 // BlockTarget inner types define
21 struct Side {
22 public:
23 // member variables
24 // NOLINTBEGIN
27 // NOLINTEND
28
29 public:
30 // prevent constructor by default
31 Side& operator=(Side const&);
32 Side(Side const&);
33 Side();
34
35 public:
36 // member functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCNAPI Side(::Vec3 const& pos, uchar fid);
40#endif
41 // NOLINTEND
42
43 public:
44 // constructor thunks
45 // NOLINTBEGIN
46#ifdef LL_PLAT_C
47 MCNAPI void* $ctor(::Vec3 const& pos, uchar fid);
48#endif
49 // NOLINTEND
50 };
51
52public:
53 // member variables
54 // NOLINTBEGIN
61 // NOLINTEND
62
63public:
64 // prevent constructor by default
65 BlockTarget& operator=(BlockTarget const&);
66 BlockTarget(BlockTarget const&);
67 BlockTarget();
68
69public:
70 // member functions
71 // NOLINTBEGIN
72#ifdef LL_PLAT_C
73 MCNAPI void addSide(::CameraAimAssist::BlockTarget::Side const& side);
74
75 MCNAPI void forEachSide(::std::function<void(::CameraAimAssist::BlockTarget::Side const&)> const& callback) const;
76
77 MCNAPI float getAimAssistPriorityPercentage() const;
78
79 MCNAPI ::BlockPos const& getBlockPos() const;
80
81 MCNAPI bool getIsFlowingLiquid() const;
82
83 MCNAPI bool getIsLiquid() const;
84
85 MCNAPI uchar getSidesCount() const;
86
87 MCNAPI void setAimAssistPriorityPercentage(float priorityPercentage);
88
89 MCNAPI void setBlockPos(::BlockPos const& blockPos);
90
91 MCNAPI void setIsLiquid(bool isLiquid, bool isFlowing);
92#endif
93 // NOLINTEND
94};
95
96} // namespace CameraAimAssist
Definition BlockPos.h:21
Definition Vec3.h:10
Definition BlockTarget.h:21
Definition Alias.h:14