1
0

SpentAmmoVisualsComponent.cs 480 B

123456789101112131415161718192021
  1. using Content.Client.Weapons.Ranged.Systems;
  2. namespace Content.Client.Weapons.Ranged.Components;
  3. [RegisterComponent, Access(typeof(GunSystem))]
  4. public sealed partial class SpentAmmoVisualsComponent : Component
  5. {
  6. /// <summary>
  7. /// Should we do "{_state}-spent" or just "spent"
  8. /// </summary>
  9. [DataField("suffix")] public bool Suffix = true;
  10. [DataField("state")]
  11. public string State = "base";
  12. }
  13. public enum AmmoVisualLayers : byte
  14. {
  15. Base,
  16. Tip,
  17. }