Skip to content
LeviMC
English
AutoLightDark
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
53
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCNAPI static void _disableGravity(::Mob& mob);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCNAPI void $initializeInternal(::Mob& mob, ::NavigationDescription const* description);
67
68 MCNAPI void $tick(::NavigationComponent& parent, ::Mob& mob);
69
70 MCNAPI ::Vec3 $getTempMobPos(::Mob const& mob) const;
71
72 MCNAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos);
73
74 MCNAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target);
75
76 MCNAPI void $stop(::NavigationComponent& parent, ::Mob& mob);
77
78 MCNAPI bool $canUpdatePath(::Mob const& mob) const;
79
80 MCNAPI 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:116
Definition FlyingPathNavigation.h:18
MCAPI bool $canUpdatePath(::Mob const &mob) const
MCAPI void $initializeInternal(::Mob &mob, ::NavigationDescription const *description)
MCAPI void $stop(::NavigationComponent &parent, ::Mob &mob)
MCAPI ::std::unique_ptr<::Path > $createPath(::NavigationComponent &parent, ::Mob &mob, ::Actor const &target)
MCAPI void _restorePreviousGravityFlag(::Mob &mob)
MCAPI void $updatePath(::NavigationComponent &parent, ::Mob &mob)
MCAPI void $tick(::NavigationComponent &parent, ::Mob &mob)
MCAPI::Vec3 $getTempMobPos(::Mob const &mob) const
MCAPI void _storePreviousGravityFlag(::Mob &mob)
static MCAPI void _disableGravity(::Mob &mob)
MCAPI ::std::unique_ptr<::Path > $createPath(::NavigationComponent &parent, ::Mob &mob, ::Vec3 const &pos)
static MCAPI void ** $vftable()
Definition Mob.h:58
Definition NavigationComponent.h:18
Definition PathNavigation.h:17
Definition Path.h:16
Definition Vec3.h:10
Definition NavigationDescription.h:14