mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-10 10:51:14 +03:00
18 lines
558 B
C#
18 lines
558 B
C#
using Content.Shared.Vehicle.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Vehicle.Components;
|
|
|
|
/// <summary>
|
|
/// Tracking component for handling the operator of a given <see cref="VehicleComponent"/>
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
|
|
[Access(typeof(VehicleSystem))]
|
|
public sealed partial class VehicleOperatorComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The vehicle we are currently operating.
|
|
/// </summary>
|
|
[DataField, AutoNetworkedField]
|
|
public EntityUid? Vehicle;
|
|
}
|