Class ApcComponent
Inheritance
System.Object
ApcComponent
Assembly: Content.Server.dll
Syntax
public sealed class ApcComponent : BaseApcNetComponent, IBaseNetConnectorComponent<IApcNet>
Fields
|
Improve this Doc
View Source
HasAccess
Declaration
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
HighPowerThreshold
Declaration
public const float HighPowerThreshold = null
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
LastChargeState
Declaration
public ApcChargeState LastChargeState
Field Value
|
Improve this Doc
View Source
LastChargeStateTime
Declaration
public TimeSpan LastChargeStateTime
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
LastExternalState
Declaration
public ApcExternalPowerState LastExternalState
Field Value
|
Improve this Doc
View Source
LastUiUpdate
Time the ui was last updated automatically.
Done after every VisualsChangeDelay to show the latest load.
If charge state changes it will be instantly updated.
Declaration
public TimeSpan LastUiUpdate
Field Value
Type |
Description |
TimeSpan |
|
|
Improve this Doc
View Source
MainBreakerEnabled
Declaration
public bool MainBreakerEnabled
Field Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
OnReceiveMessageSound
Declaration
public SoundSpecifier OnReceiveMessageSound
Field Value
Type |
Description |
Robust.Shared.Audio.SoundSpecifier |
|
|
Improve this Doc
View Source
VisualsChangeDelay
Declaration
public static TimeSpan VisualsChangeDelay
Field Value
Type |
Description |
TimeSpan |
|
Methods
|
Improve this Doc
View Source
AddSelfToNet(IApcNet)
Declaration
protected override void AddSelfToNet(IApcNet apcNet)
Parameters
Type |
Name |
Description |
IApcNet |
apcNet |
|
Overrides
Content.Server.Power.Components.BaseNetConnectorComponent<Content.Server.Power.NodeGroups.IApcNet>.AddSelfToNet(Content.Server.Power.NodeGroups.IApcNet)
|
Improve this Doc
View Source
RemoveSelfFromNet(IApcNet)
Declaration
protected override void RemoveSelfFromNet(IApcNet apcNet)
Parameters
Type |
Name |
Description |
IApcNet |
apcNet |
|
Overrides
Content.Server.Power.Components.BaseNetConnectorComponent<Content.Server.Power.NodeGroups.IApcNet>.RemoveSelfFromNet(Content.Server.Power.NodeGroups.IApcNet)
Implements