quantum-space-buddies/QSB/EchoesOfTheEye/WineCellar/WorldObjects/QSBWineCellarSwitch.cs
2023-07-28 19:30:57 +01:00

17 lines
370 B
C#

using QSB.EchoesOfTheEye.WineCellar.Messages;
using QSB.Messaging;
using QSB.WorldSync;
namespace QSB.EchoesOfTheEye.WineCellar.WorldObjects;
public class QSBWineCellarSwitch : WorldObject<WineCellarSwitch>
{
public override void SendInitialState(uint to)
{
if (AttachedObject.enabled)
{
this.SendMessage(new WineCellarSwitchMessage { To = to });
}
}
}