13 lines
450 B
C#
Raw Permalink Normal View History

2022-04-13 23:30:59 -07:00
using QSB.EchoesOfTheEye.DreamLantern.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.DreamLantern.Messages;
2023-07-28 19:30:57 +01:00
public class SetRangeMessage : QSBWorldObjectMessage<QSBDreamLanternController, (float minRange, float maxRange)>
2022-04-13 23:30:59 -07:00
{
public SetRangeMessage(float minRange, float maxRange) : base((minRange, maxRange)) { }
public override void OnReceiveRemote()
2022-08-28 22:21:20 -07:00
=> WorldObject.AttachedObject.SetRange(Data.minRange, Data.maxRange);
2022-04-13 23:30:59 -07:00
}