14 lines
408 B
C#
Raw Normal View History

2022-04-01 02:23:59 -07:00
using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
using QSB.Messaging;
using QSB.Patches;
namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
public class SetFaceOpenMessage : QSBWorldObjectMessage<QSBAlarmTotem, bool>
{
2022-04-01 17:26:58 -07:00
public SetFaceOpenMessage(bool open) : base(open) { }
2022-04-01 02:23:59 -07:00
public override void OnReceiveRemote() =>
QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetFaceOpen(Data));
}