Files
crystall-punk-14/Content.Shared/Weapons/Ranged/Components/ContainerAmmoProviderComponent.cs

21 lines
573 B
C#
Raw Permalink Normal View History

using Content.Shared.Weapons.Ranged.Systems;
using Robust.Shared.GameStates;
2023-01-16 10:56:09 -06:00
namespace Content.Shared.Weapons.Ranged.Components;
/// <summary>
/// Handles pulling entities from the given container to use as ammunition.
/// </summary>
[RegisterComponent]
[Access(typeof(SharedGunSystem))]
public sealed partial class ContainerAmmoProviderComponent : AmmoProviderComponent
2023-01-16 10:56:09 -06:00
{
[DataField("container", required: true)]
[ViewVariables]
2023-01-16 10:56:09 -06:00
public string Container = default!;
[DataField("provider")]
[ViewVariables]
public EntityUid? ProviderUid;
2023-01-16 10:56:09 -06:00
}