refactor(component): activities load their activity in the client's phases

The component ID's activity in LoadDataFromTemplate, the level's activityID in
LoadConfigData; racing control picks its world's activity after both, as before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-10-01 08:15:58 -05:00
parent 14a11ac6ce
commit 2b8b682a0b
4 changed files with 27 additions and 9 deletions

View File

@@ -126,6 +126,8 @@ public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::RACING_CONTROL;
RacingControlComponent(Entity* parentEntity, const int32_t componentID);
void LoadConfigData() override;
~RacingControlComponent();
void Serialize(RakNet::BitStream& outBitStream, bool bIsInitialUpdate) override;