quantum-space-buddies/QSB/EchoesOfTheEye/WineCellar/WorldObjects/QSBWineCellarSwitch.cs

17 lines
370 B
C#
Raw Normal View History

2022-09-29 00:46:02 +00:00
using QSB.EchoesOfTheEye.WineCellar.Messages;
using QSB.Messaging;
using QSB.WorldSync;
2022-09-22 12:02:40 +00:00
namespace QSB.EchoesOfTheEye.WineCellar.WorldObjects;
2022-09-22 12:02:40 +00:00
2023-07-28 18:30:57 +00:00
public class QSBWineCellarSwitch : WorldObject<WineCellarSwitch>
2022-09-29 00:46:02 +00:00
{
public override void SendInitialState(uint to)
{
if (AttachedObject.enabled)
{
this.SendMessage(new WineCellarSwitchMessage { To = to });
}
}
}