Files
tbd-station-14/Content.Shared/Light/SharedPoweredLightVisuals.cs
metalgearsloth df7d6c4d90 PoweredLight uses PointLights for appearance (#4540)
* PoweredLight uses PointLights for appearance

Previously this just set PointLightComponent data via the visualizer which lead to desyncs in the data between client and server. If the server pointlight was dirtied at any point then the pointlight data set via appearance visualizers was bulldozed.

* Address review
2021-08-31 18:45:02 +10:00

28 lines
441 B
C#

using System;
using Robust.Shared.Serialization;
namespace Content.Shared.Light
{
[Serializable, NetSerializable]
public enum PoweredLightVisuals : byte
{
BulbState,
Blinking
}
[Serializable, NetSerializable]
public enum PoweredLightState : byte
{
Empty,
On,
Off,
Broken,
Burned
}
public enum PoweredLightLayers : byte
{
Base
}
}