23 lines
526 B
C#
Raw Normal View History

using QSB.WorldSync;
2022-02-26 00:26:31 -08:00
using System;
2022-03-02 19:46:33 -08:00
namespace QSB.EchoesOfTheEye.LightSensorSync.WorldObjects;
internal class QSBLightSensor : WorldObject<SingleLightSensor>
2022-02-26 00:26:31 -08:00
{
/// <summary>
/// illuminated specifically by the player
/// </summary>
2022-05-26 21:23:05 -07:00
public bool LocallyIlluminated;
2022-02-26 00:26:31 -08:00
public Action OnDetectLocalLight;
public Action OnDetectLocalDarkness;
2022-03-02 19:46:33 -08:00
/// <summary>
/// illuminated on the client (replacement for base game code)
/// </summary>
internal bool _illuminated;
public override void SendInitialState(uint to) { }
}