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