PowerCellComponent.cs 673 B

1234567891011121314151617181920212223242526
  1. using Robust.Shared.GameStates;
  2. using Robust.Shared.Serialization;
  3. namespace Content.Shared.PowerCell;
  4. /// <summary>
  5. /// This component enables power-cell related interactions (e.g., entity white-lists, cell sizes, examine, rigging).
  6. /// The actual power functionality is provided by the server-side BatteryComponent.
  7. /// </summary>
  8. [NetworkedComponent]
  9. [RegisterComponent]
  10. public sealed partial class PowerCellComponent : Component
  11. {
  12. public const int PowerCellVisualsLevels = 2;
  13. }
  14. [Serializable, NetSerializable]
  15. public enum PowerCellVisuals : byte
  16. {
  17. ChargeLevel
  18. }
  19. [Serializable, NetSerializable]
  20. public enum PowerCellSlotVisuals : byte
  21. {
  22. Enabled
  23. }