Files
DarkflameServer/dGame/dComponents/GateRushComponent.h
Aaron Kimbrell 0e611bc76c refactor(component): racing control and gate rush share the client's racing control base
LWOBaseRacingControlComponent (an activity component) is the base of the
client's racing control (71) and gate rush control (103); DLU gets the same
BaseRacingControlComponent. Nothing sent changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-01 14:23:38 -05:00

19 lines
658 B
C++

#ifndef GATERUSHCOMPONENT_H
#define GATERUSHCOMPONENT_H
#include "BaseRacingControlComponent.h"
#include "eReplicaComponentType.h"
/**
* Gate rush control, as the client's LWOGateRushControlComponent makes it from the registry: a racing control
* (BaseRacingControlComponent). Nothing of it is sent or done on the server yet.
*/
class GateRushComponent final : public BaseRacingControlComponent {
public:
static constexpr eReplicaComponentType ComponentType = eReplicaComponentType::GATE_RUSH_CONTROL;
GateRushComponent(Entity* parent, const int32_t componentID) : BaseRacingControlComponent(parent, componentID) {}
};
#endif // GATERUSHCOMPONENT_H