mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 18:31:17 +03:00
* add BlockHands * and mechs * move to another place * small fix * TrySpawnUnremoveableVirtualItemInHand * upd * fix docs * VehicleHandBlockerComponent
19 lines
646 B
C#
19 lines
646 B
C#
using Content.Shared.Vehicle.Systems;
|
|
using Robust.Shared.GameStates;
|
|
|
|
namespace Content.Shared.Vehicle.Components;
|
|
|
|
/// <summary>
|
|
/// A <see cref="VehicleComponent"/> whose operator must be inside a specified container.
|
|
/// Note that the operator is the first to enter the container and won't be removed until they exit the container.
|
|
/// </summary>
|
|
[RegisterComponent, NetworkedComponent]
|
|
[Access(typeof(VehicleSystem))]
|
|
public sealed partial class ContainerVehicleComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The ID of the container for the operator.
|
|
/// </summary>
|
|
[DataField(required: true)]
|
|
public string ContainerId;
|
|
}
|