HitscanBatteryAmmoProviderComponent.cs 496 B

1234567891011
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
  3. namespace Content.Shared.Weapons.Ranged.Components;
  4. [RegisterComponent, NetworkedComponent]
  5. public sealed partial class HitscanBatteryAmmoProviderComponent : BatteryAmmoProviderComponent
  6. {
  7. [ViewVariables(VVAccess.ReadWrite), DataField("proto", required: true, customTypeSerializer: typeof(PrototypeIdSerializer<HitscanPrototype>))]
  8. public string Prototype = default!;
  9. }