Show / Hide Table of Contents

Class EmergencyLightSystem

Inheritance
System.Object
SharedEmergencyLightSystem
EmergencyLightSystem
Namespace: Content.Server.Light.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class EmergencyLightSystem : SharedEmergencyLightSystem

Methods

| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

SetState(EntityUid, EmergencyLightComponent, EmergencyLightState)

Declaration
public void SetState(EntityUid uid, EmergencyLightComponent component, EmergencyLightState state)
Parameters
Type Name Description
EntityUid uid
EmergencyLightComponent component
EmergencyLightState state
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
| Improve this Doc View Source

UpdateState(EntityUid, EmergencyLightComponent)

Updates the light's power drain, battery drain, sprite and actual light state.

Declaration
public void UpdateState(EntityUid uid, EmergencyLightComponent component)
Parameters
Type Name Description
EntityUid uid
EmergencyLightComponent component
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾