Re-organize all projects (#4166)
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#nullable enable
|
||||
using System;
|
||||
using Content.Shared.NetIDs;
|
||||
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 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) :
|
||||
base(ContentNetIDs.REVOLVER_BARREL)
|
||||
{
|
||||
CurrentSlot = currentSlot;
|
||||
FireRateSelector = fireRateSelector;
|
||||
Bullets = bullets;
|
||||
SoundGunshot = soundGunshot;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user