refactor(component): vendors load their stock in LoadDataFromTemplate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 08:08:11 -05:00
parent 8ef3e323fe
commit 818ad152ca
4 changed files with 14 additions and 1 deletions

View File

@@ -27,6 +27,8 @@ public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::VENDOR;
VendorComponent(Entity* parent, const int32_t componentID);
void LoadDataFromTemplate() override;
void Serialize(RakNet::BitStream& outBitStream, bool bIsInitialUpdate) override;
bool OnRequestUse(GameMessages::RequestUseEvent& event);