using Robust.Shared.GameStates;
using Robust.Shared.Serialization;
namespace Content.Shared.Paint;
///
/// Component applied to target entity when painted.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
public sealed partial class PaintedComponent : Component
{
///
/// Color of the paint.
///
[DataField, AutoNetworkedField]
public Color Color = Color.FromHex("#2cdbd5");
///
/// Used to remove the color when component removed.
///
[DataField, AutoNetworkedField]
public Color BeforeColor;
///
/// If paint is enabled.
///
[DataField, AutoNetworkedField]
public bool Enabled;
///
/// Name of the shader.
///
[DataField, AutoNetworkedField]
public string ShaderName = "Greyscale";
}
[Serializable, NetSerializable]
public enum PaintVisuals : byte
{
Painted,
}