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