2022-01-05 17:20:25 +13:00
|
|
|
using Robust.Shared.GameStates;
|
|
|
|
|
using Robust.Shared.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace Content.Shared.PowerCell;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// This component enables power-cell related interactions (e.g., entity white-lists, cell sizes, examine, rigging).
|
|
|
|
|
/// The actual power functionality is provided by the server-side BatteryComponent.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[NetworkedComponent]
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class PowerCellComponent : Component
|
2022-01-05 17:20:25 +13:00
|
|
|
{
|
2022-06-16 18:37:07 +10:00
|
|
|
public const int PowerCellVisualsLevels = 2;
|
2022-01-05 17:20:25 +13:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[Serializable, NetSerializable]
|
2022-06-16 18:37:07 +10:00
|
|
|
public enum PowerCellVisuals : byte
|
2022-01-05 17:20:25 +13:00
|
|
|
{
|
|
|
|
|
ChargeLevel
|
|
|
|
|
}
|
2023-05-13 18:28:11 +02:00
|
|
|
[Serializable, NetSerializable]
|
|
|
|
|
public enum PowerCellSlotVisuals : byte
|
|
|
|
|
{
|
|
|
|
|
Enabled
|
|
|
|
|
}
|