* Some more VV * Fixed build & some more gun vvs * Added VendingMachine Inventory & Items
29 lines
757 B
C#
29 lines
757 B
C#
using System;
|
|
using Robust.Shared.GameObjects;
|
|
using Robust.Shared.ViewVariables;
|
|
|
|
namespace Content.Shared.GameObjects.Components.Weapons.Ranged
|
|
{
|
|
public abstract class SharedRangedBarrelComponent : Component
|
|
{
|
|
[ViewVariables]
|
|
public abstract FireRateSelector FireRateSelector { get; }
|
|
[ViewVariables]
|
|
public abstract FireRateSelector AllRateSelectors { get; }
|
|
[ViewVariables]
|
|
public abstract float FireRate { get; }
|
|
[ViewVariables]
|
|
public abstract int ShotsLeft { get; }
|
|
[ViewVariables]
|
|
public abstract int Capacity { get; }
|
|
}
|
|
|
|
[Flags]
|
|
public enum FireRateSelector
|
|
{
|
|
Safety = 0,
|
|
Single = 1 << 0,
|
|
Automatic = 1 << 1,
|
|
}
|
|
}
|