Show / Hide Table of Contents

Class HandheldLightSystem

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

Methods

| Improve this Doc View Source

Initialize()

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

Shutdown()

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

ToggleStatus(EntityUid, EntityUid, HandheldLightComponent)

Illuminates the light if it is not active, extinguishes it if it is active.

Declaration
public bool ToggleStatus(EntityUid user, EntityUid uid, HandheldLightComponent component)
Parameters
Type Name Description
EntityUid user
EntityUid uid
HandheldLightComponent component
Returns
Type Description
System.Boolean

True if the light's status was toggled, false otherwise.

| 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
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾