2022-04-23 21:05:02 -04:00
|
|
|
namespace Content.Shared.Vehicle.Components
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Added to people when they are riding in a vehicle
|
|
|
|
|
/// used mostly to keep track of them for entityquery.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[RegisterComponent]
|
|
|
|
|
public sealed class RiderComponent : Component
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The vehicle this rider is currently riding.
|
|
|
|
|
/// </summary>
|
2022-05-28 10:53:46 +10:00
|
|
|
[ViewVariables] public VehicleComponent? Vehicle;
|
2022-04-23 21:05:02 -04:00
|
|
|
}
|
|
|
|
|
}
|