Files
tbd-station-14/Content.Shared/Weapons/Ranged/Barrels/Components/SharedRevolverBarrelComponent.cs
2022-05-13 17:59:03 +10:00

27 lines
816 B
C#

using Content.Shared.Weapons.Ranged.Components;
using Robust.Shared.Serialization;
namespace Content.Shared.Weapons.Ranged.Barrels.Components
{
[Serializable, NetSerializable]
public sealed class RevolverBarrelComponentState : ComponentState
{
public int CurrentSlot { get; }
public FireRateSelector FireRateSelector { get; }
public bool?[] Bullets { get; }
public string? SoundGunshot { get; }
public RevolverBarrelComponentState(
int currentSlot,
FireRateSelector fireRateSelector,
bool?[] bullets,
string? soundGunshot)
{
CurrentSlot = currentSlot;
FireRateSelector = fireRateSelector;
Bullets = bullets;
SoundGunshot = soundGunshot;
}
}
}