using Content.Shared.Polymorph.Systems;
using Robust.Shared.GameStates;
using Robust.Shared.Prototypes;
namespace Content.Shared.Polymorph.Components;
///
/// Component added to disguise entities.
/// Used by client to copy over appearance from the disguise's source entity.
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedChameleonProjectorSystem))]
[AutoGenerateComponentState(true)]
public sealed partial class ChameleonDisguiseComponent : Component
{
///
/// The user of this disguise.
///
[DataField]
public EntityUid User;
///
/// The projector that created this disguise.
///
[DataField]
public EntityUid Projector;
///
/// The disguise source entity for copying the sprite.
///
[DataField, AutoNetworkedField]
public EntityUid SourceEntity;
///
/// The source entity's prototype.
/// Used as a fallback if the source entity was deleted.
///
[DataField, AutoNetworkedField]
public EntProtoId? SourceProto;
}