feat(entity): the client's pathfinding control component (86) on pets

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 09:37:17 -05:00
parent c65f559b39
commit 4a546607f7
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#ifndef PATHFINDINGCOMPONENT_H
#define PATHFINDINGCOMPONENT_H
#include "Component.h"
#include "eReplicaComponentType.h"
/**
* Pathfinding control, as the client's LWOPathfindingControlComponent: the client adds one (componentID -1) to a pet
* that isn't in an inventory, and to a script or combat AI object with movement physics. Nothing of it is sent or done
* on the server yet (the server's pathing is MovementAIComponent).
*/
class PathfindingComponent final : public Component {
public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::PATHFINDING;
PathfindingComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
};
#endif // PATHFINDINGCOMPONENT_H