35 lines
714 B
C#
35 lines
714 B
C#
// SPDX-FileCopyrightText: 2025 Redrover1760
|
|
// SPDX-FileCopyrightText: 2025 RikuTheKiller
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
namespace Content.Shared._Mono.ShipGuns;
|
|
|
|
/// <summary>
|
|
/// Component for categorizing ship guns by class
|
|
/// </summary>
|
|
[RegisterComponent]
|
|
public sealed partial class ShipGunClassComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The class of ship gun
|
|
/// </summary>
|
|
[DataField("shipClass")]
|
|
public ShipGunClass Class = ShipGunClass.Medium;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Classes of ship guns
|
|
/// </summary>
|
|
[Serializable, NetSerializable]
|
|
public enum ShipGunClass
|
|
{
|
|
Superlight,
|
|
Light,
|
|
Medium,
|
|
Heavy,
|
|
Superheavy
|
|
}
|