mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
12 lines
414 B
C#
12 lines
414 B
C#
using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
|
|
namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
|
|
|
|
public class SetVisibleMessage : QSBWorldObjectMessage<QSBAlarmTotem, bool>
|
|
{
|
|
public SetVisibleMessage(bool visible) : base(visible) { }
|
|
public override void OnReceiveLocal() => OnReceiveRemote();
|
|
public override void OnReceiveRemote() => WorldObject.SetVisible(From, Data);
|
|
}
|