2023-08-12 17:39:58 -04:00
|
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.Silicons.Borgs.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This is used for an entity that is linked to an MMI.
|
|
|
|
|
|
/// Mostly for receiving events.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent, NetworkedComponent, Access(typeof(SharedBorgSystem))]
|
2023-08-14 19:34:23 -04:00
|
|
|
|
[AutoGenerateComponentState]
|
|
|
|
|
|
public sealed partial class MMILinkedComponent : Component
|
2023-08-12 17:39:58 -04:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The MMI this entity is linked to.
|
|
|
|
|
|
/// </summary>
|
2023-08-14 19:34:23 -04:00
|
|
|
|
[DataField("linkedMMI"), AutoNetworkedField]
|
2023-08-12 17:39:58 -04:00
|
|
|
|
public EntityUid? LinkedMMI;
|
|
|
|
|
|
}
|