mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-29 09:32:38 +00:00
13 lines
350 B
C#
13 lines
350 B
C#
using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
|
|
|
|
public class SetEnabledMessage : QSBWorldObjectMessage<QSBAlarmTotem, bool>
|
|
{
|
|
public SetEnabledMessage(bool enabled) : base(enabled) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
WorldObject.SetEnabled(Data);
|
|
}
|