MMILinkedComponent.cs 535 B

123456789101112131415161718
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Silicons.Borgs.Components;
  3. /// <summary>
  4. /// This is used for an entity that is linked to an MMI.
  5. /// Mostly for receiving events.
  6. /// </summary>
  7. [RegisterComponent, NetworkedComponent, Access(typeof(SharedBorgSystem))]
  8. [AutoGenerateComponentState]
  9. public sealed partial class MMILinkedComponent : Component
  10. {
  11. /// <summary>
  12. /// The MMI this entity is linked to.
  13. /// </summary>
  14. [DataField("linkedMMI"), AutoNetworkedField]
  15. public EntityUid? LinkedMMI;
  16. }