using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects; using QSB.Messaging; namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages; public class SetVisibleMessage : QSBWorldObjectMessage { public SetVisibleMessage(bool visible) : base(visible) { } public override void OnReceiveLocal() => OnReceiveRemote(); public override void OnReceiveRemote() => WorldObject.SetVisible(From, Data); }