mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-14 07:47:13 +00:00
LWOCharacterComponent::Factory makes possession control, mount control, pet creator, level progression and forced movement, then the character, all with componentID -1; DLU now makes the same set in the same order (mount control and pet creator are new, empty). The ghost is added after the component walk, where the client adds it, for a character with physics. Nothing sent changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
674 B
C++
19 lines
674 B
C++
#ifndef MOUNTCONTROLCOMPONENT_H
|
|
#define MOUNTCONTROLCOMPONENT_H
|
|
|
|
#include "Component.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
/**
|
|
* Mount control (111): the character's riding of mounts, as the client's LWOMountControlComponent: the client makes it (componentID -1) with every character
|
|
* (LWOCharacterComponent::Factory). Nothing of it is sent or done on the server yet.
|
|
*/
|
|
class MountControlComponent final : public Component {
|
|
public:
|
|
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::MOUNT_CONTROL;
|
|
|
|
MountControlComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
|
|
};
|
|
|
|
#endif // MOUNTCONTROLCOMPONENT_H
|