mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-15 08:17: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
655 B
C++
19 lines
655 B
C++
#ifndef PETCREATORCOMPONENT_H
|
|
#define PETCREATORCOMPONENT_H
|
|
|
|
#include "Component.h"
|
|
#include "eReplicaComponentType.h"
|
|
|
|
/**
|
|
* Pet creator (37): the character's taming of pets, as the client's LWOPetCreatorComponent: the client makes it (componentID -1) with every character
|
|
* (LWOCharacterComponent::Factory). Nothing of it is sent or done on the server yet.
|
|
*/
|
|
class PetCreatorComponent final : public Component {
|
|
public:
|
|
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::PET_CREATOR;
|
|
|
|
PetCreatorComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {}
|
|
};
|
|
|
|
#endif // PETCREATORCOMPONENT_H
|