Show / Hide Table of Contents

Class ChargerComponent

Inheritance
System.Object
ChargerComponent
Namespace: Content.Server.Power.Components
Assembly: Content.Server.dll
Syntax
public sealed class ChargerComponent : Component

Fields

| Improve this Doc View Source

BaseChargeRate

The charge rate with no machine upgrades

Declaration
public float BaseChargeRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

ChargeRate

The charge rate of the charger, in watts

Declaration
public float ChargeRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

MachinePartChargeRateModifier

The machine part that affects the charge rate multiplier of the charger

Declaration
public string MachinePartChargeRateModifier
Field Value
Type Description
System.String
| Improve this Doc View Source

PartRatingChargeRateModifier

A value used to scale the charge rate multiplier with the corresponding part rating.

Declaration
public float PartRatingChargeRateModifier
Field Value
Type Description
System.Single
| Improve this Doc View Source

SlotId

The container ID that is holds the entities being charged.

Declaration
public string SlotId
Field Value
Type Description
System.String
| Improve this Doc View Source

Status

Declaration
public CellChargerStatus Status
Field Value
Type Description
CellChargerStatus
| Improve this Doc View Source

Whitelist

A whitelist for what entities can be charged by this Charger.

Declaration
public EntityWhitelist Whitelist
Field Value
Type Description
EntityWhitelist
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾