using Robust.Shared.GameStates;
using Robust.Shared.Player;
namespace Content.Shared.Changeling.Components;
///
/// Marker component for cloned identities devoured by a changeling.
/// These are stored on a paused map so that the changeling can transform into them.
///
[RegisterComponent, NetworkedComponent]
public sealed partial class ChangelingStoredIdentityComponent : Component
{
///
/// The original entity the identity was cloned from.
///
///
/// TODO: Not networked at the moment because it will create PVS errors when the original is somehow deleted.
/// Use WeakEntityReference once it's merged.
///
[DataField]
public EntityUid? OriginalEntity;
///
/// The player session of the original entity, if any.
/// Used for admin logging purposes.
///
[ViewVariables]
public ICommonSession? OriginalSession;
}