Files
tbd-station-14/Content.Shared/RCD/Components/RCDAmmoComponent.cs
deltanedas ddc2785110 rcd refactor (#15172)
Co-authored-by: deltanedas <@deltanedas:kde.org>
2023-05-01 23:46:59 +10:00

19 lines
609 B
C#

using Content.Shared.RCD.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.RCD.Components;
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState]
[Access(typeof(RCDAmmoSystem))]
public sealed partial class RCDAmmoComponent : Component
{
/// <summary>
/// How many charges are contained in this ammo cartridge.
/// Can be partially transferred into an RCD, until it is empty then it gets deleted.
/// </summary>
[DataField("charges"), ViewVariables(VVAccess.ReadWrite), AutoNetworkedField]
public int Charges = 5;
}
// TODO: state??? check if it desyncs