Makes more fields VV (#2026)
* Some more VV * Fixed build & some more gun vvs * Added VendingMachine Inventory & Items
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
using System;
|
||||
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; }
|
||||
}
|
||||
|
||||
@@ -19,4 +25,4 @@ namespace Content.Shared.GameObjects.Components.Weapons.Ranged
|
||||
Single = 1 << 0,
|
||||
Automatic = 1 << 1,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user