quantum-space-buddies/QSB/EchoesOfTheEye/WineCellar/WorldObjects/QSBWineCellarSwitch.cs
2022-09-28 17:46:02 -07:00

17 lines
372 B
C#

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