Files
wwdpublic/Content.Shared/Polymorph/Components/ChameleonDisguiseComponent.cs
Spatison 2a10c02eb5 No spead merge (#475)
* Revert "[GoobPort] WIZ REAL (#465)"

This reverts commit 091a8ff433.

* fix local
2025-04-26 10:50:32 +03:00

26 lines
784 B
C#

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