mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
14 lines
408 B
C#
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 open) : base(open) { }
|
|
|
|
public override void OnReceiveRemote() =>
|
|
QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetFaceOpen(Data));
|
|
}
|