NavMapBlipPrototype.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using Robust.Shared.Prototypes;
  2. using Robust.Shared.Utility;
  3. namespace Content.Shared.Prototypes;
  4. [Prototype]
  5. public sealed partial class NavMapBlipPrototype : IPrototype
  6. {
  7. [ViewVariables]
  8. [IdDataField]
  9. public string ID { get; private set; } = default!;
  10. /// <summary>
  11. /// Sets whether the associated entity can be selected when the blip is clicked
  12. /// </summary>
  13. [DataField]
  14. public bool Selectable = false;
  15. /// <summary>
  16. /// Sets whether the blips is always blinking
  17. /// </summary>
  18. [DataField]
  19. public bool Blinks = false;
  20. /// <summary>
  21. /// Sets the color of the blip
  22. /// </summary>
  23. [DataField]
  24. public Color Color { get; private set; } = Color.LightGray;
  25. /// <summary>
  26. /// Texture paths associated with the blip
  27. /// </summary>
  28. [DataField]
  29. public ResPath[]? TexturePaths { get; private set; }
  30. /// <summary>
  31. /// Sets the UI scaling of the blip
  32. /// </summary>
  33. [DataField]
  34. public float Scale { get; private set; } = 1f;
  35. }