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 // vIndex: 1
31 virtual void initializeInternal(::Mob& mob, ::NavigationDescription* description) /*override*/;
32
33 // vIndex: 2
34 virtual void tick(::NavigationComponent& parent, ::Mob& mob) /*override*/;
35
36 // vIndex: 3
37 virtual ::Vec3 getTempMobPos(::Mob const& mob) const /*override*/;
38
39 // vIndex: 5
40 virtual ::std::unique_ptr<::Path>
41 createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos) /*override*/;
42
43 // vIndex: 4
44 virtual ::std::unique_ptr<::Path>
45 createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target) /*override*/;
46
47 // vIndex: 9
48 virtual void stop(::NavigationComponent& parent, ::Mob& mob) /*override*/;
49
50 // vIndex: 11
51 virtual bool canUpdatePath(::Mob const& mob) const /*override*/;
52
53 // vIndex: 12
54 virtual void updatePath(::NavigationComponent& parent, ::Mob& mob) /*override*/;
55
56 // vIndex: 0
57 virtual ~FlyingPathNavigation() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCNAPI void _disableGravity(::Mob& mob);
64
66
68 // NOLINTEND
69
70public:
71 // virtual function thunks
72 // NOLINTBEGIN
73 MCNAPI void $initializeInternal(::Mob& mob, ::NavigationDescription* description);
74
75 MCNAPI void $tick(::NavigationComponent& parent, ::Mob& mob);
76
77 MCNAPI ::Vec3 $getTempMobPos(::Mob const& mob) const;
78
79 MCNAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos);
80
81 MCNAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target);
82
83 MCNAPI void $stop(::NavigationComponent& parent, ::Mob& mob);
84
85 MCNAPI bool $canUpdatePath(::Mob const& mob) const;
86
87 MCNAPI void $updatePath(::NavigationComponent& parent, ::Mob& mob);
88 // NOLINTEND
89
90public:
91 // vftables
92 // NOLINTBEGIN
93 MCNAPI static void** $vftable();
94 // NOLINTEND
95};
Definition Actor.h:103
Definition FlyingPathNavigation.h:18
MCAPI bool $canUpdatePath(::Mob const &mob) const
MCAPI void $stop(::NavigationComponent &parent, ::Mob &mob)
MCAPI ::std::unique_ptr<::Path > $createPath(::NavigationComponent &parent, ::Mob &mob, ::Actor const &target)
MCAPI void _disableGravity(::Mob &mob)
MCAPI void _restorePreviousGravityFlag(::Mob &mob)
MCAPI void $updatePath(::NavigationComponent &parent, ::Mob &mob)
MCAPI void $initializeInternal(::Mob &mob, ::NavigationDescription *description)
MCAPI void $tick(::NavigationComponent &parent, ::Mob &mob)
MCAPI::Vec3 $getTempMobPos(::Mob const &mob) const
MCAPI void _storePreviousGravityFlag(::Mob &mob)
MCAPI ::std::unique_ptr<::Path > $createPath(::NavigationComponent &parent, ::Mob &mob, ::Vec3 const &pos)
static MCAPI void ** $vftable()
Definition Mob.h:47
Definition NavigationComponent.h:22
Definition PathNavigation.h:17
Definition Path.h:16
Definition Vec3.h:10
Definition NavigationDescription.h:13