mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-16 16:15:24 +00:00
17 lines
448 B
C#
17 lines
448 B
C#
using QSB.EchoesOfTheEye.AlarmTotemSync.WorldObjects;
|
|
using QSB.Messaging;
|
|
using System.Collections.Generic;
|
|
|
|
namespace QSB.EchoesOfTheEye.AlarmTotemSync.Messages;
|
|
|
|
public class VisibleForMessage : QSBWorldObjectMessage<QSBAlarmTotem, List<uint>>
|
|
{
|
|
public VisibleForMessage(List<uint> visibleFor) : base(visibleFor) { }
|
|
|
|
public override void OnReceiveRemote()
|
|
{
|
|
WorldObject.VisibleFor.Clear();
|
|
WorldObject.VisibleFor.AddRange(Data);
|
|
}
|
|
}
|