Show / Hide Table of Contents

Class PoweredLightComponent

Component that represents a wall light. It has a light bulb that can be replaced when broken.

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

Fields

| Improve this Doc View Source

BulbType

Declaration
public LightBulbType BulbType
Field Value
Type Description
LightBulbType
| Improve this Doc View Source

BurnHandSound

Declaration
public SoundSpecifier BurnHandSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

CurrentLit

Declaration
public bool CurrentLit
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Damage

Declaration
public DamageSpecifier Damage
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

EjectBulbDelay

How long it takes to eject a bulb from this

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

GhostBlinkingCooldown

Declaration
public TimeSpan GhostBlinkingCooldown
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

GhostBlinkingTime

Declaration
public TimeSpan GhostBlinkingTime
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

HasLampOnSpawn

Declaration
public string? HasLampOnSpawn
Field Value
Type Description
System.Nullable<System.String>
| Improve this Doc View Source

IgnoreGhostsBoo

Declaration
public bool IgnoreGhostsBoo
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

IsBlinking

Declaration
public bool IsBlinking
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

LastGhostBlink

Declaration
public TimeSpan? LastGhostBlink
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

LastThunk

Declaration
public TimeSpan LastThunk
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

LightBulbContainer

Declaration
public ContainerSlot LightBulbContainer
Field Value
Type Description
Robust.Shared.Containers.ContainerSlot
| Improve this Doc View Source

OffPort

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

On

Declaration
public bool On
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

OnPort

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

TogglePort

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

TurnOnSound

Declaration
public SoundSpecifier TurnOnSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

UnarmedHitShock

Shock damage done to a mob that hits the light with an unarmed attack

Declaration
public int UnarmedHitShock
Field Value
Type Description
System.Int32
| Improve this Doc View Source

UnarmedHitStun

Stun duration applied to a mob that hits the light with an unarmed attack

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