Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
FloatNavigation.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;
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual bool travel(::NavigationComponent& parent, ::Mob& mob, float& xa, float& ya, float& za) /*override*/;
22
23 virtual ::std::unique_ptr<::Path>
24 createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos) /*override*/;
25
26 virtual ::std::unique_ptr<::Path>
27 createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target) /*override*/;
28
29 virtual bool moveTo(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos, float speed) /*override*/;
30
31 virtual bool moveTo(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target, float speed) /*override*/;
32
33 virtual bool
34 moveTo(::NavigationComponent& parent, ::Mob& mob, ::std::unique_ptr<::Path> newPath, float speed) /*override*/;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40 MCNAPI bool $travel(::NavigationComponent& parent, ::Mob& mob, float& xa, float& ya, float& za);
41
42 MCNAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos);
43
44 MCNAPI ::std::unique_ptr<::Path> $createPath(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target);
45
46 MCNAPI bool $moveTo(::NavigationComponent& parent, ::Mob& mob, ::Vec3 const& pos, float speed);
47
48 MCNAPI bool $moveTo(::NavigationComponent& parent, ::Mob& mob, ::Actor const& target, float speed);
49
50 MCNAPI bool $moveTo(::NavigationComponent& parent, ::Mob& mob, ::std::unique_ptr<::Path> newPath, float speed);
51
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
Definition Actor.h:116
Definition FloatNavigation.h:17
MCAPI bool $moveTo(::NavigationComponent &parent, ::Mob &mob, ::std::unique_ptr<::Path > newPath, float speed)
MCAPI ::std::unique_ptr<::Path > $createPath(::NavigationComponent &parent, ::Mob &mob, ::Vec3 const &pos)
static MCAPI void ** $vftable()
MCAPI bool $moveTo(::NavigationComponent &parent, ::Mob &mob, ::Actor const &target, float speed)
MCAPI bool $travel(::NavigationComponent &parent, ::Mob &mob, float &xa, float &ya, float &za)
MCAPI ::std::unique_ptr<::Path > $createPath(::NavigationComponent &parent, ::Mob &mob, ::Actor const &target)
MCAPI bool $moveTo(::NavigationComponent &parent, ::Mob &mob, ::Vec3 const &pos, float speed)
Definition Mob.h:58
Definition NavigationComponent.h:18
Definition PathNavigation.h:17
Definition Path.h:16
Definition Vec3.h:10