LeviLamina
Loading...
Searching...
No Matches
PathfinderNode.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/pathfinder/NodeType.h"
7
8// auto generated forward declare list
9// clang-format off
10class BlockPos;
11// clang-format on
12
13class PathfinderNode {
14public:
15 // member variables
16 // NOLINTBEGIN
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 PathfinderNode& operator=(PathfinderNode const&);
33 PathfinderNode();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI PathfinderNode(::PathfinderNode const& node);
39
40 MCNAPI PathfinderNode(::BlockPos const& pos, ::NodeType type);
41
42 MCNAPI float distanceTo(::PathfinderNode* to) const;
43
44 MCNAPI float distanceToSqr(::PathfinderNode* to) const;
45
46 MCNAPI bool equals(::PathfinderNode* o);
47
48 MCNAPI float getCostMalus() const;
49
50 MCNAPI ::NodeType getType() const;
51
52 MCNAPI bool inOpenSet();
53
54 MCNAPI void setCostMalus(float costMalus);
55
56 MCNAPI void setMoveMalus(float moveMalus);
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCNAPI void* $ctor(::PathfinderNode const& node);
63
64 MCNAPI void* $ctor(::BlockPos const& pos, ::NodeType type);
65 // NOLINTEND
66};
Definition BlockPos.h:21
MCAPI PathfinderNode(::PathfinderNode const &node)
MCAPI float distanceToSqr(::PathfinderNode *to) const
MCAPI float getCostMalus() const
MCAPI float distanceTo(::PathfinderNode *to) const
MCAPI void setCostMalus(float costMalus)
MCAPI::NodeType getType() const
MCAPI void setMoveMalus(float moveMalus)
MCAPI PathfinderNode(::BlockPos const &pos, ::NodeType type)
MCAPI bool equals(::PathfinderNode *o)
MCAPI void * $ctor(::PathfinderNode const &node)
MCAPI bool inOpenSet()
MCAPI void * $ctor(::BlockPos const &pos, ::NodeType type)
Definition Alias.h:14