LeviLamina
Loading...
Searching...
No Matches
FlyingPathNavigation.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/navigation/PathNavigation.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class Mob;
13class Path;
14class Vec3;
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<1, 1, bool> mHadGravity;
23 ::ll::TypedStorage<1, 1, bool> mCanPathFromAir;
24 ::ll::TypedStorage<4, 4, float const> mMinWaypointRadius;
25 // NOLINTEND
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual void initializeInternal(::Mob& mob, ::NavigationDescription* description) /*override*/;
31
32 virtual void tick(::NavigationComponent& parent, ::Mob& mob) /*override*/;
33
34 virtual ::Vec3 getTempMobPos(::Mob const& mob) const /*override*/;
35
36 virtual ::std::unique_ptr<::Path>
37 createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos) /*override*/;
38
39 virtual ::std::unique_ptr<::Path>
40 createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target) /*override*/;
41
42 virtual void stop(::NavigationComponent& parent, ::Mob& mob) /*override*/;
43
44 virtual bool canUpdatePath(::Mob const& mob) const /*override*/;
45
46 virtual void updatePath(::NavigationComponent& parent, ::Mob& mob) /*override*/;
47
48 virtual ~FlyingPathNavigation() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI void _restorePreviousGravityFlag(::Mob& mob);
55
56 MCAPI void _storePreviousGravityFlag(::Mob& mob);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI void $initializeInternal(::Mob& mob, ::NavigationDescription* description);
63
64 MCAPI void $tick(::NavigationComponent& parent, ::Mob& mob);
65
66 MCAPI ::Vec3 $getTempMobPos(::Mob const& mob) const;
67
68 MCAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos);
69
70 MCAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target);
71
72 MCAPI void $stop(::NavigationComponent& parent, ::Mob& mob);
73
74 MCAPI bool $canUpdatePath(::Mob const& mob) const;
75
76 MCAPI void $updatePath(::NavigationComponent& parent, ::Mob& mob);
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
Definition Actor.h:105
Definition FlyingPathNavigation.h:18
static MCAPI void ** $vftable()
Definition Mob.h:50
Definition NavigationComponent.h:19
Definition PathNavigation.h:17
Definition Path.h:16
Definition Vec3.h:10
Definition NavigationDescription.h:14