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 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI void $initializeInternal(::Mob& mob, ::NavigationDescription* description);
61
62 MCAPI void $tick(::NavigationComponent& parent, ::Mob& mob);
63
64 MCAPI ::Vec3 $getTempMobPos(::Mob const& mob) const;
65
66 MCAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos);
67
68 MCAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target);
69
70 MCAPI void $stop(::NavigationComponent& parent, ::Mob& mob);
71
72 MCAPI bool $canUpdatePath(::Mob const& mob) const;
73
74 MCAPI void $updatePath(::NavigationComponent& parent, ::Mob& mob);
75
76
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition Actor.h:106
Definition FlyingPathNavigation.h:18
static MCAPI void ** $vftable()
Definition Mob.h:51
Definition NavigationComponent.h:19
Definition PathNavigation.h:17
Definition Path.h:16
Definition Vec3.h:10
Definition NavigationDescription.h:14