refactor(component): the collectible loads its row in LoadDataFromTemplate

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 08:10:56 -05:00
parent 3dbbf46876
commit e5607ff0c7
2 changed files with 7 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::COLLECTIBLE;
CollectibleComponent(Entity* parentEntity, const int32_t componentID, const int32_t collectibleId);
void LoadDataFromTemplate() override;
int16_t GetCollectibleId() const { return m_CollectibleId; }
void Serialize(RakNet::BitStream& outBitStream, bool isConstruction) override;