mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 00:35:27 +00:00
LWOBaseVendorComponent is the base of the client's vendor, donation vendor and achievement vendor; DLU's vendor logic becomes BaseVendorComponent with VendorComponent, DonationVendorComponent and AchievementVendorComponent all built on it (the last two derived from VendorComponent before). Nothing sent changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
465 B
C++
17 lines
465 B
C++
#ifndef VENDORCOMPONENT_H
|
|
#define VENDORCOMPONENT_H
|
|
|
|
#include "BaseVendorComponent.h"
|
|
|
|
/**
|
|
* A vendor (16), as the client's LWOVendorComponent: a BaseVendorComponent.
|
|
*/
|
|
class VendorComponent final : public BaseVendorComponent {
|
|
public:
|
|
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::VENDOR;
|
|
|
|
VendorComponent(Entity* parent, const int32_t componentID) : BaseVendorComponent(parent, componentID) {}
|
|
};
|
|
|
|
#endif // VENDORCOMPONENT_H
|