* Readonly, typos and redundant string interpolations * Namespaces * Optimize imports * Address reviews * but actually * Localize missing strings * Remove redundant vars
23 lines
671 B
C#
23 lines
671 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Weapons.Ranged.Barrels
|
|
{
|
|
[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) :
|
|
base(ContentNetIDs.BATTERY_BARREL)
|
|
{
|
|
FireRateSelector = fireRateSelector;
|
|
Magazine = magazine;
|
|
}
|
|
}
|
|
}
|