Files
DarkflameServer/dGame/dComponents/Vendor/VendorComponent.h
Aaron Kimbrell c710e1d3a9 refactor(component): vendors share the client's base vendor component
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>
2026-10-01 15:43:13 -05:00

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