ProjectileBatteryAmmoProviderComponent.cs 530 B

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