HolosignProjectorComponent.cs 664 B

12345678910111213141516171819
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. namespace Content.Server.Holosign
  4. {
  5. [RegisterComponent]
  6. public sealed partial class HolosignProjectorComponent : Component
  7. {
  8. [ViewVariables(VVAccess.ReadWrite)]
  9. [DataField("signProto", customTypeSerializer:typeof(PrototypeIdSerializer<EntityPrototype>))]
  10. public string SignProto = "HolosignWetFloor";
  11. /// <summary>
  12. /// How much charge a single use expends.
  13. /// </summary>
  14. [ViewVariables(VVAccess.ReadWrite), DataField("chargeUse")]
  15. public float ChargeUse = 50f;
  16. }
  17. }