mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-11 19:31:12 +03:00
* Part one of Vehicles * Also we need this * Part 1 * Part 1.1 * And we need this * Part 2 * Part 2.1 * We REALLY need this * Part 1 of integration * Little fix * Just fixes * fixes (i'm tired) * fix * fix * Apply suggestions from code review Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com> * update * fixed * just for cleaner diff * just in case * I think this might be cleaner * fix * fix * upd * upd * fix update * small fix * upd * fix test? * fix? * remove initialize * move attack to vehicle --------- Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
18 lines
608 B
C#
18 lines
608 B
C#
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;
|
|
}
|