Show / Hide Table of Contents

Class PowerCellSlotComponent

Inheritance
System.Object
PowerCellSlotComponent
Namespace: Content.Shared.PowerCell.Components
Assembly: Content.Shared.dll
Syntax
public sealed class PowerCellSlotComponent : Component

Fields

| Improve this Doc View Source

CellSlotId

The actual item-slot that contains the cell. Allows all the interaction logic to be handled by ItemSlotsSystem.

Declaration
public string CellSlotId
Field Value
Type Description
System.String
Remarks

Given that needs to verify that a given cell has the correct cell-size before inserting anyways, there is no need to specify a separate entity whitelist. In this slot's yaml definition.

| Improve this Doc View Source

FitsInCharger

Can this entity be inserted directly into a charging station? If false, you need to manually remove the power cell and recharge it separately.

Declaration
public bool FitsInCharger
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾