mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-30 03:32:47 +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 data) : base(data) { }
|
|||
|
|
|||
|
public override void OnReceiveRemote() =>
|
|||
|
QSBPatch.RemoteCall(() => WorldObject.AttachedObject.SetFaceOpen(Data));
|
|||
|
}
|