Update battery-gun item status when charge changes (#6579)
Co-authored-by: mirrorcult <lunarautomaton6@gmail.com>
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
using System;
|
||||
using Content.Shared.Weapons.Ranged.Components;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.Weapons.Ranged.Barrels.Components
|
||||
{
|
||||
[Serializable, NetSerializable]
|
||||
public class BatteryBarrelComponentState : ComponentState
|
||||
{
|
||||
public FireRateSelector FireRateSelector { get; }
|
||||
public (int count, int max)? Magazine { get; }
|
||||
|
||||
public BatteryBarrelComponentState(
|
||||
FireRateSelector fireRateSelector,
|
||||
(int count, int max)? magazine)
|
||||
{
|
||||
FireRateSelector = fireRateSelector;
|
||||
Magazine = magazine;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user