2022-04-01 02:25:52 -07:00

14 lines
408 B
C#

using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
using QSB.Messaging;
using QSB.Patches;
namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
public class SetFaceOpenMessage : QSBWorldObjectMessage<QSBAlarmTotem, bool>
{
public SetFaceOpenMessage(bool data) : base(data) { }
public override void OnReceiveRemote() =>
QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetFaceOpen(Data));
}