Files
crystall-punk-14/Content.Shared/Vehicle/Components/InVehicleComponent.cs

17 lines
456 B
C#
Raw Normal View History

2022-04-23 21:05:02 -04:00
namespace Content.Shared.Vehicle.Components
{
/// <summary>
/// Added to objects inside a vehicle to stop people besides the rider from
/// removing them.
/// </summary>
[RegisterComponent]
public sealed class InVehicleComponent : Component
{
/// <summary>
/// The vehicle this rider is currently riding.
/// </summary>
[ViewVariables]
public VehicleComponent Vehicle = default!;
}
}