MechPilotComponent.cs 516 B

12345678910111213141516171819
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Mech.Components;
  3. /// <summary>
  4. /// Attached to entities piloting a <see cref="MechComponent"/>
  5. /// </summary>
  6. /// <remarks>
  7. /// Get in the robot, Shinji
  8. /// </remarks>
  9. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
  10. public sealed partial class MechPilotComponent : Component
  11. {
  12. /// <summary>
  13. /// The mech being piloted
  14. /// </summary>
  15. [ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
  16. public EntityUid Mech;
  17. }